mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-21 12:32:13 +00:00
Fix offsets, implement some of @tterrag1098's changes
This commit is contained in:
1 parent
098a74600c
commit
efc72769d6
3 files changed
+13
-12
No files matched your search
@@ -4,6 +4,7 @@ import ic2.api.tile.IWrenchable;
|
||||
import io.netty.buffer.ByteBuf;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
@@ -29,10 +30,10 @@ public abstract class TileEntityBasicBlock extends TileEntity implements IWrench
|
||||
|
||||
public int clientFacing;
|
||||
|
||||
public Set<EntityPlayer> openedThisTick = new HashSet<EntityPlayer>();
|
||||
public Set<EntityPlayer> openedThisTick = Collections.synchronizedSet(new HashSet<EntityPlayer>());
|
||||
|
||||
/** The players currently using this block. */
|
||||
public Set<EntityPlayer> playersUsing = new HashSet<EntityPlayer>();
|
||||
public Set<EntityPlayer> playersUsing = Collections.synchronizedSet(new HashSet<EntityPlayer>());
|
||||
|
||||
/** A timer used to send packets to clients. */
|
||||
public int ticker;
|
||||
|
||||
Reference in new issue
Block a user