fix 2 bugs
This commit is contained in:
parent
2604e8f4dc
commit
97dd6ea316
5
pom.xml
5
pom.xml
|
@ -46,11 +46,6 @@
|
|||
<groupId>net.kyori</groupId>
|
||||
<artifactId>adventure-text-minimessage</artifactId>
|
||||
<version>4.13.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>net.kyori</groupId>
|
||||
<artifactId>adventure-text-serializer-legacy</artifactId>
|
||||
<version>4.13.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.MilkBowl</groupId>
|
||||
|
|
|
@ -64,7 +64,6 @@ import lv.pi.animalrp.util.Emote;
|
|||
import lv.pi.animalrp.util.Mood;
|
||||
import net.kyori.adventure.text.minimessage.MiniMessage;
|
||||
import net.milkbowl.vault.chat.Chat;
|
||||
import net.milkbowl.vault.economy.Economy;
|
||||
|
||||
public class AnimalRP extends JavaPlugin {
|
||||
public static HashMap<UUID, Animal> users;
|
||||
|
|
|
@ -90,11 +90,11 @@ public class PlayerChat implements Listener {
|
|||
String prefix = AnimalRP.vaultChat.getPlayerPrefix(event.getPlayer());
|
||||
|
||||
if(suffix != null) {
|
||||
csuffix = Component.text(suffix);
|
||||
csuffix = AnimalRP.mm.deserialize(suffix);
|
||||
}
|
||||
|
||||
if(prefix != null) {
|
||||
cprefix = Component.text(prefix);
|
||||
cprefix = AnimalRP.mm.deserialize(prefix);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue