PC-148
Fixes a very trivial issue with Ocelots being named incorrectly
This commit is contained in:
parent
3bdc541c9d
commit
c7757117fc
@ -5,6 +5,7 @@ import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.Map.Entry;
|
||||
import java.util.UUID;
|
||||
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.F;
|
||||
@ -42,7 +43,6 @@ import nautilus.game.arcade.kit.Kit;
|
||||
import nautilus.game.arcade.managers.chat.ChatStatData;
|
||||
import nautilus.game.arcade.stats.BlockBreakStatTracker;
|
||||
import nautilus.game.arcade.stats.BlockPlaceStatTracker;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.Effect;
|
||||
@ -1110,6 +1110,11 @@ public class Build extends SoloGame
|
||||
return;
|
||||
}
|
||||
|
||||
if(event.getSpawnReason() == SpawnReason.SPAWNER_EGG && event.getEntityType() == EntityType.OCELOT)
|
||||
{
|
||||
event.getEntity().setCustomName("Ocelot");
|
||||
}
|
||||
|
||||
Player bestPlayer = null;
|
||||
double bestDist = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user