Browse Source

v instead of V in replace

master
Your Average Code 11 months ago
parent
commit
edea18ee8c
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      src/RumbleBot.java
  2. 1
    1
      src/SnakeBot.java

+ 1
- 1
src/RumbleBot.java View File

@@ -24,7 +24,7 @@ public class RumbleBot extends Bot {
.replace('^', '*')
.replace('<', '*')
.replace('>', '*')
.replace('V', '*');
.replace('v', '*');
char[][] grid = dataToGrid(data, size);

if (data.contains("*")) {

+ 1
- 1
src/SnakeBot.java View File

@@ -23,7 +23,7 @@ public class SnakeBot extends Bot {
.replace('^', '*')
.replace('<', '*')
.replace('>', '*')
.replace('V', '*');
.replace('v', '*');
char[][] grid = dataToGrid(data, view.width);

if (data.contains("@")) {

Loading…
Cancel
Save