mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-16 18:44:44 +00:00
Merge pull request #2713 from codewarrior0/patch-4
Add missing null check in PacketBotaniaEffect
This commit is contained in:
1 file changed
+2
@@ -107,6 +107,8 @@ public class PacketBotaniaEffect implements IMessage {
|
||||
}
|
||||
case ITEM_SMOKE: {
|
||||
Entity item = world.getEntityByID(message.args[0]);
|
||||
if (item == null) return;
|
||||
|
||||
int p = message.args[1];
|
||||
|
||||
for(int i = 0; i < p; i++) {
|
||||
|
||||
Reference in new issue
Block a user