Fixed Priority Screens.

This commit is contained in:
AlgorithmX2 2014-06-29 04:06:21 -05:00
parent 36f81cf0b7
commit e99d675897

View file

@ -34,7 +34,7 @@ public class ContainerPriority extends AEBaseContainer
} }
@GuiSync(2) @GuiSync(2)
long PriorityValue = -1; public long PriorityValue = -1;
public void setPriority(int newValue, EntityPlayer player) public void setPriority(int newValue, EntityPlayer player)
{ {
@ -45,6 +45,7 @@ public class ContainerPriority extends AEBaseContainer
@Override @Override
public void detectAndSendChanges() public void detectAndSendChanges()
{ {
super.detectAndSendChanges();
verifyPermissions( SecurityPermissions.BUILD, false ); verifyPermissions( SecurityPermissions.BUILD, false );
if ( Platform.isServer() ) if ( Platform.isServer() )