Skip to content

Commit

Permalink
fix(forge): colour coding
Browse files Browse the repository at this point in the history
  • Loading branch information
danorris709 committed Sep 6, 2021
1 parent f37be01 commit 95c1f5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.envyful.reforged.bingo.forge.listener;

import com.envyful.api.forge.chat.UtilChatColour;
import com.envyful.api.forge.listener.LazyListener;
import com.envyful.api.forge.server.UtilForgeServer;
import com.envyful.api.math.UtilRandom;
Expand Down Expand Up @@ -43,7 +44,7 @@ public void onBingoSlotComplete(BingoSlotCompleteEvent event) {
}

for (String message : messages) {
event.getPlayer().message(message);
event.getPlayer().message(UtilChatColour.translateColourCodes('&', message));
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.envyful.reforged.bingo.forge.player;

import com.envyful.api.forge.chat.UtilChatColour;
import com.envyful.api.forge.items.ItemBuilder;
import com.envyful.api.forge.player.ForgeEnvyPlayer;
import com.envyful.api.forge.player.attribute.AbstractForgeAttribute;
Expand Down Expand Up @@ -91,7 +92,7 @@ public void generateNewCard() {

this.started = System.currentTimeMillis();

this.parent.message(this.manager.getLocale().getCardReset());
this.parent.message(UtilChatColour.translateColourCodes('&', this.manager.getLocale().getCardReset()));
}

private boolean canPickPokemon(EnumSpecies value) {
Expand Down

0 comments on commit 95c1f5f

Please sign in to comment.