mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-11 15:57:55 +00:00
Add null check (#211)
This commit is contained in:
1 parent
04cd7ed0b2
commit
75c8f55bb9
1 file changed
+6
-2
@@ -45,8 +45,12 @@ public class SPacketMEUpdateBuffer {
|
||||
}
|
||||
|
||||
public static void disable() {
|
||||
task.cancel(false);
|
||||
executor.shutdown();
|
||||
if (task != null) {
|
||||
task.cancel(false);
|
||||
}
|
||||
if (executor != null) {
|
||||
executor.shutdown();
|
||||
}
|
||||
}
|
||||
|
||||
public static void scheduleItemUpdate(EntityPlayerMP player, List<IAEItemStack> stacks) {
|
||||
|
||||
Reference in new issue
Block a user