Fix
This commit is contained in:
@@ -31,7 +31,7 @@ public abstract class TileBase extends TileEntity implements ITickable {
|
||||
|
||||
if (!worldObj.isRemote) {
|
||||
if (this instanceof ISynchronizedContainer) {
|
||||
for (EntityPlayer player : worldObj.getMinecraftServer().getPlayerList().getPlayerList()) {
|
||||
for (EntityPlayer player : worldObj.playerEntities) {
|
||||
if (((ISynchronizedContainer) this).getContainer() == player.openContainer.getClass()) {
|
||||
RefinedStorage.NETWORK.sendTo(new MessageTileContainerUpdate(this), (EntityPlayerMP) player);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user