Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 20:40:08 +01:00
Correct error in previous patch
Dieser Commit ist enthalten in:
Ursprung
eb36029f1c
Commit
0e1d79b449
@ -9,7 +9,17 @@
|
|||||||
public class BlockRedstoneComparator extends BlockDiodeAbstract implements ITileEntity {
|
public class BlockRedstoneComparator extends BlockDiodeAbstract implements ITileEntity {
|
||||||
|
|
||||||
public static final BlockStateEnum<BlockPropertyComparatorMode> MODE = BlockProperties.ap;
|
public static final BlockStateEnum<BlockPropertyComparatorMode> MODE = BlockProperties.ap;
|
||||||
@@ -118,8 +120,18 @@
|
@@ -65,7 +67,8 @@
|
||||||
|
|
||||||
|
@Nullable
|
||||||
|
private EntityItemFrame a(World world, EnumDirection enumdirection, BlockPosition blockposition) {
|
||||||
|
- List list = world.a(EntityItemFrame.class, new AxisAlignedBB((double) blockposition.getX(), (double) blockposition.getY(), (double) blockposition.getZ(), (double) (blockposition.getX() + 1), (double) (blockposition.getY() + 1), (double) (blockposition.getZ() + 1)), (entityitemframe) -> {
|
||||||
|
+ // CraftBukkit - decompile error
|
||||||
|
+ List list = world.a(EntityItemFrame.class, new AxisAlignedBB((double) blockposition.getX(), (double) blockposition.getY(), (double) blockposition.getZ(), (double) (blockposition.getX() + 1), (double) (blockposition.getY() + 1), (double) (blockposition.getZ() + 1)), (Predicate<EntityItemFrame>) (entityitemframe) -> {
|
||||||
|
return entityitemframe != null && entityitemframe.getDirection() == enumdirection;
|
||||||
|
});
|
||||||
|
|
||||||
|
@@ -118,8 +121,18 @@
|
||||||
boolean flag1 = ((Boolean) iblockdata.get(BlockRedstoneComparator.c)).booleanValue();
|
boolean flag1 = ((Boolean) iblockdata.get(BlockRedstoneComparator.c)).booleanValue();
|
||||||
|
|
||||||
if (flag1 && !flag) {
|
if (flag1 && !flag) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren