3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-18 12:30:06 +01:00

Really fixed block placement... Really.

Dieser Commit ist enthalten in:
Dinnerbone 2011-01-14 20:27:11 +00:00
Ursprung 202e44ab1a
Commit 5cb6edd5a9

Datei anzeigen

@ -85,13 +85,12 @@ public class ItemBlock extends Item {
// Specialcase iceblocks, replace with 'glass' first (so it doesn't explode into water)
if (this.a == 79) {
world.a(i, j, k, 20);
world.b(i, j, k, 20);
}
world.b(i, j, k, oldMaterial);
world.d(i, j, k, oldData);
} else {
world.g(i, j, k);
world.h(i, j, k, this.a);
world.b(i, j, k, a, a(itemstack.h()));
Block.m[a].c(world, i, j, k, l);
Block.m[a].a(world, i, j, k, ((EntityLiving) (entityplayer)));