19w39a first fixes
This commit is contained in:
1 parent
5b411aea19
commit
4b55b1465d
8 files changed
+17
-17
No files matched your search
@@ -107,7 +107,7 @@ public class PerimeterDiagnostics
|
||||
pos = new BlockPos(eX+x, y, eZ+z);
|
||||
|
||||
BlockState iblockstate = worldserver.getBlockState(pos);
|
||||
BlockState iblockstate_down = worldserver.getBlockState(pos.down());
|
||||
BlockState iblockstate_down = worldserver.getBlockState(pos.down(1));
|
||||
BlockState iblockstate_up = worldserver.getBlockState(pos.up());
|
||||
|
||||
if ( iblockstate.getMaterial() == Material.WATER && iblockstate_down.getMaterial() == Material.WATER && !iblockstate_up.isSimpleFullBlock(worldserver, pos))
|
||||
|
||||
@@ -165,7 +165,7 @@ public class SpawnReporter
|
||||
|
||||
public static List<BaseText> show_mobcaps(BlockPos pos, World worldIn)
|
||||
{
|
||||
DyeColor under = WoolTool.getWoolColorAtPosition(worldIn, pos.down());
|
||||
DyeColor under = WoolTool.getWoolColorAtPosition(worldIn, pos.down(1));
|
||||
if (under == null)
|
||||
{
|
||||
if (track_spawns > 0L)
|
||||
|
||||
@@ -60,7 +60,7 @@ public class WoolTool
|
||||
break;
|
||||
case GRAY:
|
||||
if (CarpetSettings.commandInfo)
|
||||
Messenger.send(placer, BlockInfo.blockInfo(pos.down(), worldIn));
|
||||
Messenger.send(placer, BlockInfo.blockInfo(pos.down(1), worldIn));
|
||||
break;
|
||||
case YELLOW:
|
||||
if (CarpetSettings.commandInfo)
|
||||
@@ -70,7 +70,7 @@ public class WoolTool
|
||||
case GREEN:
|
||||
if (CarpetSettings.hopperCounters)
|
||||
{
|
||||
DyeColor under = getWoolColorAtPosition(worldIn, pos.down());
|
||||
DyeColor under = getWoolColorAtPosition(worldIn, pos.down(1));
|
||||
if (under == null) return;
|
||||
HopperCounter counter = HopperCounter.getCounter(under.toString());
|
||||
if (counter != null)
|
||||
@@ -80,7 +80,7 @@ public class WoolTool
|
||||
case RED:
|
||||
if (CarpetSettings.hopperCounters)
|
||||
{
|
||||
DyeColor under = getWoolColorAtPosition(worldIn, pos.down());
|
||||
DyeColor under = getWoolColorAtPosition(worldIn, pos.down(1));
|
||||
if (under == null) return;
|
||||
HopperCounter counter = HopperCounter.getCounter(under.toString());
|
||||
if (counter == null) return;
|
||||
|
||||
Reference in new issue
Block a user