mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-24 22:04:49 +00:00
Fixed break crash
This commit is contained in:
1 parent
330756e5a7
commit
fdc21d8de5
2 files changed
+10
-4
No files matched your search
@@ -11,7 +11,6 @@ import mekanism.common.security.ISecurityTile.SecurityMode;
|
||||
import mekanism.common.security.SecurityData;
|
||||
import mekanism.common.security.SecurityFrequency;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.entity.player.EntityPlayerMP;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.ChatComponentText;
|
||||
@@ -35,7 +34,7 @@ public final class SecurityUtils
|
||||
|
||||
ISecurityItem security = (ISecurityItem)stack.getItem();
|
||||
|
||||
if(MekanismUtils.isOp((EntityPlayerMP)player))
|
||||
if(MekanismUtils.isOp(player))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@@ -52,7 +51,7 @@ public final class SecurityUtils
|
||||
|
||||
ISecurityTile security = (ISecurityTile)tile;
|
||||
|
||||
if(MekanismUtils.isOp((EntityPlayerMP)player))
|
||||
if(MekanismUtils.isOp(player))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user