Fixed Robit dupe glitch

This commit is contained in:
aidancbrady committed 2016-07-05 17:30:34 -04:00
1 parent f4582dbccf
commit cdf4b16ec1
11 files changed
+84 -60

No files matched your search

@@ -39,8 +39,6 @@ public abstract class TileEntityBasicBlock extends TileEntity implements IWrench
public int clientFacing;
public HashSet<EntityPlayer> openedThisTick = new HashSet<EntityPlayer>();
/** The players currently using this block. */
public HashSet<EntityPlayer> playersUsing = new HashSet<EntityPlayer>();
@@ -78,8 +76,6 @@ public abstract class TileEntityBasicBlock extends TileEntity implements IWrench
if(!worldObj.isRemote)
{
openedThisTick.clear();
if(doAutoSync && playersUsing.size() > 0)
{
for(EntityPlayer player : playersUsing)