mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-28 13:36:16 +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);
|
super(world);
|
||||||
|
|
||||||
// CraftBukkit start
|
// CraftBukkit start
|
||||||
CraftWorld cworld = ((WorldServer) world).getWorld();
|
cworld = ((WorldServer) world).getWorld();
|
||||||
CraftServer server = ((WorldServer) world).getServer();
|
server = ((WorldServer) world).getServer();
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
|
|
||||||
this.setPositionRotation(d0, d1, d2, 0.0F, 0.0F);
|
this.setPositionRotation(d0, d1, d2, 0.0F, 0.0F);
|
||||||
|
Loading…
Reference in New Issue
Block a user