GUI Rendering and various fixes

This commit is contained in:
Sebastian Hartte
2020-06-07 03:29:57 +02:00
parent 97f04922b9
commit 46b1d1ffdc
72 changed files with 650 additions and 552 deletions
@@ -62,7 +62,7 @@ public class ToolDebugCard extends AEBaseItem
@Override
public ActionResultType onItemUseFirst(ItemStack stack, ItemUseContext context) {
if( Platform.isClient() )
if( context.getWorld().isRemote() )
{
return ActionResultType.PASS;
}
+1 -1
View File
@@ -45,7 +45,7 @@ public class ToolEraser extends AEBaseItem
@Override
public ActionResultType onItemUseFirst(ItemStack stack, ItemUseContext context) {
if( Platform.isClient() )
if( context.getWorld().isRemote() )
{
return ActionResultType.PASS;
}
@@ -40,7 +40,7 @@ public class ToolMeteoritePlacer extends AEBaseItem
@Override
public ActionResultType onItemUseFirst(ItemStack stack, ItemUseContext context) {
if( Platform.isClient() )
if( context.getWorld().isRemote() )
{
return ActionResultType.PASS;
}
@@ -53,7 +53,7 @@ public class ToolReplicatorCard extends AEBaseItem
@Override
public ActionResultType onItemUseFirst(ItemStack stack, ItemUseContext context) {
if( Platform.isClient() )
if( context.getWorld().isRemote() )
{
return ActionResultType.PASS;
}