diff --git a/src/main/java/com/mrcrayfish/guns/object/Bullet.java b/src/main/java/com/mrcrayfish/guns/object/Bullet.java index dff00e2ef..45b4102a6 100644 --- a/src/main/java/com/mrcrayfish/guns/object/Bullet.java +++ b/src/main/java/com/mrcrayfish/guns/object/Bullet.java @@ -50,6 +50,8 @@ private void updateHeading() public void tick(World world) { + if(world == null) + return; if(this.projectile == null) { Entity entity = world.getEntityByID(this.entityId);