Update mappings to stable_29 for 1.10.2, no functional changes

This commit is contained in:
Vincent Lee committed 2017-01-02 12:24:45 -06:00
1 parent f51b3bdbb2
commit 7321f50d39
252 files changed
+1100 -1100

No files matched your search

@@ -37,14 +37,14 @@ public class PacketDodge implements IMessage {
public IMessage onMessage(PacketDodge message, MessageContext ctx) {
EntityPlayerMP player = ctx.getServerHandler().playerEntity;
player.mcServer.addScheduledTask(() -> {
player.worldObj.playSound(null, player.posX, player.posY, player.posZ, BotaniaSoundEvents.dash, SoundCategory.PLAYERS, 1F, 1F);
player.world.playSound(null, player.posX, player.posY, player.posZ, BotaniaSoundEvents.dash, SoundCategory.PLAYERS, 1F, 1F);
IInventory baublesInv = BaublesApi.getBaubles(player);
ItemStack ringStack = baublesInv.getStackInSlot(1);
if(ringStack == null || !(ringStack.getItem() instanceof ItemDodgeRing)) {
ringStack = baublesInv.getStackInSlot(2);
if(ringStack == null || !(ringStack.getItem() instanceof ItemDodgeRing))
ctx.getServerHandler().kickPlayerFromServer("Invalid Dodge Packet");
ctx.getServerHandler().disconnect("Invalid Dodge Packet");
}
player.addExhaustion(0.3F);