Update to Minecraft 1.3 beta
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -160,7 +160,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
newEntity.inventory.e = newEntity;
|
||||
newEntity.activeContainer = entity.activeContainer;
|
||||
newEntity.defaultContainer = entity.defaultContainer;
|
||||
newWorld.A.d((int) location.getBlockX() >> 4, (int) location.getBlockZ() >> 4);
|
||||
newWorld.u.d((int) location.getBlockX() >> 4, (int) location.getBlockZ() >> 4);
|
||||
|
||||
newEntity.a.a(location.getX(), location.getY(), location.getZ(), location.getYaw(), location.getPitch());
|
||||
newWorld.manager.a(newEntity);
|
||||
|
||||
4
paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftSheep.java
Normal file → Executable file
4
paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftSheep.java
Normal file → Executable file
@@ -19,12 +19,12 @@ public class CraftSheep extends CraftAnimals implements Sheep {
|
||||
|
||||
public DyeColor getColor() {
|
||||
EntitySheep entity = (EntitySheep) getHandle();
|
||||
return DyeColor.getByData((byte) entity.e_());
|
||||
return DyeColor.getByData((byte) entity.n());
|
||||
}
|
||||
|
||||
public void setColor(DyeColor color) {
|
||||
EntitySheep entity = (EntitySheep) getHandle();
|
||||
entity.a(color.getData());
|
||||
entity.a_(color.getData());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user