GUI Rendering and various fixes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user