diff options
author | md_5 <git@md-5.net> | 2018-12-06 10:00:00 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-12-06 10:00:00 +1100 |
commit | aa36c8417bda9bdd4812c6094895677654cff83d (patch) | |
tree | f28adbc34ebef8ef5816c95597927b4c72ba2797 /nms-patches/EntityPlayer.patch | |
parent | 20fc5bea2c51de8d5239b68d83e878896b8ff505 (diff) | |
download | craftbukkit-aa36c8417bda9bdd4812c6094895677654cff83d.tar craftbukkit-aa36c8417bda9bdd4812c6094895677654cff83d.tar.gz craftbukkit-aa36c8417bda9bdd4812c6094895677654cff83d.tar.lz craftbukkit-aa36c8417bda9bdd4812c6094895677654cff83d.tar.xz craftbukkit-aa36c8417bda9bdd4812c6094895677654cff83d.zip |
Mappings Update
Diffstat (limited to 'nms-patches/EntityPlayer.patch')
-rw-r--r-- | nms-patches/EntityPlayer.patch | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/nms-patches/EntityPlayer.patch b/nms-patches/EntityPlayer.patch index cfe55347..e1d1c6f2 100644 --- a/nms-patches/EntityPlayer.patch +++ b/nms-patches/EntityPlayer.patch @@ -583,11 +583,27 @@ + PlayerLocaleChangeEvent event = new PlayerLocaleChangeEvent(getBukkitEntity(), packetplayinsettings.b()); + this.server.server.getPluginManager().callEvent(event); + } -+ this.clientViewDistance = packetplayinsettings.b; ++ this.clientViewDistance = packetplayinsettings.viewDistance; + // CraftBukkit end this.locale = packetplayinsettings.b(); this.cs = packetplayinsettings.d(); this.ct = packetplayinsettings.e(); +@@ -1023,13 +1285,13 @@ + if (entity instanceof EntityHuman) { + this.playerConnection.sendPacket(new PacketPlayOutEntityDestroy(new int[] { entity.getId()})); + } else { +- this.removeQueue.add(entity.getId()); ++ this.removeQueue.add((Integer) entity.getId()); // CraftBukkit - decompile error + } + + } + + public void d(Entity entity) { +- this.removeQueue.remove(entity.getId()); ++ this.removeQueue.remove((Integer) entity.getId()); // CraftBukkit - decompile error + } + + protected void C() { @@ -1053,7 +1315,7 @@ this.cv = (Entity) (entity == null ? this : entity); if (entity1 != this.cv) { |