1.0.0-SNAPSHOT-U86

+ Fixed issue with display name chat message not being cancelled.
This commit is contained in:
Charles 2018-11-27 22:34:22 +08:00
parent be18aba374
commit 943fbdc5e8
2 changed files with 2 additions and 1 deletions

View File

@ -65,6 +65,7 @@ public class BossDisplayNameHandler implements IHandler {
getEntityStatsElement().getMainStats().setDisplayName(input); getEntityStatsElement().getMainStats().setDisplayName(input);
getBossesFileManager().save(); getBossesFileManager().save();
event.setCancelled(true);
setHandled(true); setHandled(true);
finish(); finish();

View File

@ -19,7 +19,7 @@
</modules> </modules>
<properties> <properties>
<plugin.version>maven-version-number-SNAPSHOT-U85</plugin.version> <plugin.version>maven-version-number-SNAPSHOT-U86</plugin.version>
<plugin.name>EpicBosses</plugin.name> <plugin.name>EpicBosses</plugin.name>
<plugin.main>com.songoda.epicbosses.CustomBosses</plugin.main> <plugin.main>com.songoda.epicbosses.CustomBosses</plugin.main>
<plugin.author>AMinecraftDev</plugin.author> <plugin.author>AMinecraftDev</plugin.author>