Fixed errors
This commit is contained in:
@@ -1186,7 +1186,7 @@ public class DisguiseUtilities
|
||||
|
||||
if ((t = scoreboard.getTeam("LDPushing")) != null)
|
||||
{
|
||||
t.unregister();
|
||||
t.removeEntry(player.getName());
|
||||
}
|
||||
|
||||
// player.spigot().setCollidesWithEntities(true);
|
||||
|
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user