mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-17 05:03:55 -07:00
Update for 1.1_01 renames.
We know these updates (can) break plugins bypassing Bukkit. They are needed for smooth updates however. There will be another one right before before 1.1-R1.
This commit is contained in:
@@ -58,7 +58,7 @@ public class ItemBlock extends Item {
|
||||
return false;
|
||||
} else if (j == world.height - 1 && Block.byId[this.id].material.isBuildable()) {
|
||||
return false;
|
||||
} else if (world.a(this.id, i, j, k, false, l)) {
|
||||
} else if (world.mayPlace(this.id, i, j, k, false, l)) {
|
||||
Block block = Block.byId[this.id];
|
||||
|
||||
// CraftBukkit start - This executes the placement of the block
|
||||
@@ -136,7 +136,7 @@ public class ItemBlock extends Item {
|
||||
return Block.byId[this.id].n();
|
||||
}
|
||||
|
||||
public String b() {
|
||||
public String getName() {
|
||||
return Block.byId[this.id].n();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user