mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-23 21:39:51 +00:00
Clean Up
This commit is contained in:
1 parent
375515937d
commit
d3d57ab0df
8 files changed
+20
-310
No files matched your search
@@ -119,7 +119,7 @@ public class ItemGreenhouseScreen extends ItemForestry implements IColoredItem {
|
||||
IGreenhouseComponent component = MultiblockUtil.getComponent(world, pos, IGreenhouseComponent.class);
|
||||
if (component != null) {
|
||||
IGreenhouseController controller = component.getMultiblockLogic().getController();
|
||||
if(!controller.isAssembled()){
|
||||
if (!controller.isAssembled()) {
|
||||
if (!world.isRemote) {
|
||||
player.sendStatusMessage(new TextComponentTranslation("for.message.greenhouse_screen.notassembled"), true);
|
||||
}
|
||||
@@ -137,7 +137,7 @@ public class ItemGreenhouseScreen extends ItemForestry implements IColoredItem {
|
||||
}
|
||||
return EnumActionResult.PASS;
|
||||
}
|
||||
if(!world.isBlockLoaded(pos)){
|
||||
if (!world.isBlockLoaded(pos)) {
|
||||
if (!world.isRemote) {
|
||||
player.sendStatusMessage(new TextComponentTranslation("for.message.greenhouse_screen.away"), true);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user