mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 18:57:32 +00:00
Fix crash
This commit is contained in:
1 parent
51f35bae56
commit
3b198c927c
1 file changed
+9
-2
@@ -28,9 +28,16 @@ public class RequestProperSpawnData extends AbstractPacket {
|
||||
private static final int BATCH_LIMIT = 5;
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
private static final Set<Integer> entitiesToFix = new HashSet<>();
|
||||
private static final Set<Integer> entitiesToFix;
|
||||
@SideOnly(Side.CLIENT)
|
||||
private static long lastBatchAttemptMillis = 0;
|
||||
private static long lastBatchAttemptMillis;
|
||||
|
||||
static {
|
||||
if (FMLCommonHandler.instance().getEffectiveSide().isClient()) {
|
||||
entitiesToFix = new HashSet<>();
|
||||
lastBatchAttemptMillis = 0;
|
||||
}
|
||||
}
|
||||
|
||||
private int entityId;
|
||||
|
||||
|
||||
Reference in new issue
Block a user