@@ -26,7 +26,7 @@
|
||||
this.m = Vec3D.ORIGIN;
|
||||
this.p = Collections.emptyList();
|
||||
this.b = worldserver;
|
||||
@@ -81,16 +90,17 @@
|
||||
@@ -81,16 +90,16 @@
|
||||
|
||||
if (!list.equals(this.p)) {
|
||||
this.p = list;
|
||||
@@ -35,7 +35,6 @@
|
||||
}
|
||||
|
||||
- if (this.tracker instanceof EntityItemFrame && this.tickCounter % 10 == 0) {
|
||||
+ // PAIL : rename
|
||||
+ if (this.tracker instanceof EntityItemFrame /*&& this.tickCounter % 10 == 0*/) { // CraftBukkit - Moved below, should always enter this block
|
||||
EntityItemFrame entityitemframe = (EntityItemFrame) this.tracker;
|
||||
ItemStack itemstack = entityitemframe.getItem();
|
||||
@@ -48,7 +47,7 @@
|
||||
|
||||
while (iterator.hasNext()) {
|
||||
EntityPlayer entityplayer = (EntityPlayer) iterator.next();
|
||||
@@ -135,6 +145,17 @@
|
||||
@@ -135,6 +144,17 @@
|
||||
boolean flag2 = flag1 || this.tickCounter % 60 == 0;
|
||||
boolean flag3 = Math.abs(i - this.yRot) >= 1 || Math.abs(j - this.xRot) >= 1;
|
||||
|
||||
@@ -66,7 +65,7 @@
|
||||
if (this.tickCounter > 0 || this.tracker instanceof EntityArrow) {
|
||||
long k = PacketPlayOutEntity.a(vec3d.x);
|
||||
long l = PacketPlayOutEntity.a(vec3d.y);
|
||||
@@ -173,6 +194,7 @@
|
||||
@@ -173,6 +193,7 @@
|
||||
}
|
||||
|
||||
this.c();
|
||||
@@ -74,7 +73,7 @@
|
||||
if (flag2) {
|
||||
this.d();
|
||||
}
|
||||
@@ -181,6 +203,7 @@
|
||||
@@ -181,6 +202,7 @@
|
||||
this.yRot = i;
|
||||
this.xRot = j;
|
||||
}
|
||||
@@ -82,7 +81,7 @@
|
||||
|
||||
this.q = false;
|
||||
}
|
||||
@@ -196,7 +219,27 @@
|
||||
@@ -196,7 +218,27 @@
|
||||
|
||||
++this.tickCounter;
|
||||
if (this.tracker.velocityChanged) {
|
||||
@@ -111,7 +110,7 @@
|
||||
this.tracker.velocityChanged = false;
|
||||
}
|
||||
|
||||
@@ -211,14 +254,17 @@
|
||||
@@ -211,14 +253,17 @@
|
||||
PlayerConnection playerconnection = entityplayer.playerConnection;
|
||||
|
||||
entityplayer.playerConnection.getClass();
|
||||
@@ -132,7 +131,7 @@
|
||||
}
|
||||
|
||||
Packet<?> packet = this.tracker.P();
|
||||
@@ -234,6 +280,12 @@
|
||||
@@ -234,6 +279,12 @@
|
||||
if (this.tracker instanceof EntityLiving) {
|
||||
Collection<AttributeModifiable> collection = ((EntityLiving) this.tracker).getAttributeMap().b();
|
||||
|
||||
@@ -145,7 +144,7 @@
|
||||
if (!collection.isEmpty()) {
|
||||
consumer.accept(new PacketPlayOutUpdateAttributes(this.tracker.getId(), collection));
|
||||
}
|
||||
@@ -265,8 +317,14 @@
|
||||
@@ -265,8 +316,14 @@
|
||||
if (!list.isEmpty()) {
|
||||
consumer.accept(new PacketPlayOutEntityEquipment(this.tracker.getId(), list));
|
||||
}
|
||||
@@ -160,7 +159,7 @@
|
||||
if (this.tracker instanceof EntityLiving) {
|
||||
EntityLiving entityliving = (EntityLiving) this.tracker;
|
||||
Iterator iterator = entityliving.getEffects().iterator();
|
||||
@@ -307,6 +365,11 @@
|
||||
@@ -307,6 +364,11 @@
|
||||
Set<AttributeModifiable> set = ((EntityLiving) this.tracker).getAttributeMap().getAttributes();
|
||||
|
||||
if (!set.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user