Fixed errors

This commit is contained in:
libraryaddict
2016-06-13 07:03:40 +12:00
parent 25e0a59099
commit 410b96dafe
5 changed files with 52 additions and 10 deletions

View File

@@ -1186,7 +1186,7 @@ public class DisguiseUtilities
if ((t = scoreboard.getTeam("LDPushing")) != null)
{
t.unregister();
t.removeEntry(player.getName());
}
// player.spigot().setCollidesWithEntities(true);

View File

@@ -248,7 +248,7 @@ public class PacketListenerSounds extends PacketAdapter
if (((MobDisguise) disguise).isAdult() == baby)
{
float pitch = (Integer) mods.read(6);
float pitch = (Float) mods.read(6);
if (baby)
{
@@ -285,7 +285,7 @@ public class PacketListenerSounds extends PacketAdapter
if (pitch > 255)
pitch = 255;
mods.write(6, (int) pitch);
mods.write(6, pitch);
}
}
}