Update for 1.5_02.

This commit is contained in:
Erik Broes
2011-04-20 22:47:26 +02:00
committed by EvilSeph
parent 2fd3f8d299
commit a6c8a36dce
57 changed files with 1590 additions and 1310 deletions

View File

@@ -114,7 +114,7 @@ public class ItemInWorldManager {
Block block = Block.byId[i1];
float f = block.getDamage(this.player) * (float) (l + 1);
if (f >= 1.0F) {
if (f >= 0.7F) {
this.d(i, j, k);
} else if (!this.i) {
this.i = true;
@@ -164,13 +164,13 @@ public class ItemInWorldManager {
int l = this.world.getTypeId(i, j, k);
int i1 = this.world.getData(i, j, k);
boolean flag = this.c(i, j, k);
ItemStack itemstack = this.player.A();
ItemStack itemstack = this.player.D();
if (itemstack != null) {
itemstack.a(l, i, j, k, this.player);
if (itemstack.count == 0) {
itemstack.a(this.player);
this.player.B();
this.player.E();
}
}