Update to Minecraft 1.3 beta

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
CraftBukkit/Spigot
2011-02-23 02:37:56 +00:00
parent 745746fc1c
commit d1e9de156b
15 changed files with 220 additions and 218 deletions

View File

@@ -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);

View 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());
}
}