mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 21:07:36 +01:00
Fixed NPE in lightning fire event.
This commit is contained in:
parent
a042ee1e26
commit
8681752ee2
@ -22,8 +22,8 @@ public class EntityWeatherStorm extends EntityWeather {
|
||||
super(world);
|
||||
|
||||
// CraftBukkit start
|
||||
CraftWorld cworld = ((WorldServer) world).getWorld();
|
||||
CraftServer server = ((WorldServer) world).getServer();
|
||||
cworld = ((WorldServer) world).getWorld();
|
||||
server = ((WorldServer) world).getServer();
|
||||
// CraftBukkit end
|
||||
|
||||
this.setPositionRotation(d0, d1, d2, 0.0F, 0.0F);
|
||||
|
Loading…
Reference in New Issue
Block a user