mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 12:13:54 -07:00
[SPIGOT-946] Begin making use of access transforms to simplify patching.
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user