[SPIGOT-946] Begin making use of access transforms to simplify patching.

This commit is contained in:
md_5
2015-06-06 19:33:48 +10:00
parent a6a57a96d0
commit a65e45d889
47 changed files with 76 additions and 632 deletions

View File

@@ -25,12 +25,3 @@
if (i != j) {
iblockdata = iblockdata.set(BlockRedstoneWire.POWER, Integer.valueOf(j));
if (world.getType(blockposition) == iblockdata1) {
@@ -232,7 +243,7 @@
}
}
- private int getPower(World world, BlockPosition blockposition, int i) {
+ public int getPower(World world, BlockPosition blockposition, int i) { // CraftBukkit - public
if (world.getType(blockposition).getBlock() != this) {
return i;
} else {