Browse Source

Added getPlayerName() to BlackJack

remotes/origin/quiz
Friederike von Gruben 2 years ago
parent
commit
b16aab62c5
  1. 3
      src/main/java/org/bitbiome/classes/BlackJack.java

3
src/main/java/org/bitbiome/classes/BlackJack.java

@ -46,4 +46,7 @@ public class BlackJack {
this.botIn = true; this.botIn = true;
} }
public String getPlayerName(Entity entity) {
return entity == Entity.PLAYER ? playerName : "BitBiome";
}
} }
Loading…
Cancel
Save