geforkt von Mirrors/Paper
SPIGOT-5455: Mobs do not ignite due to sun in extra worlds
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
2855f812ac
Commit
714ff868d1
@ -295,6 +295,20 @@
|
|||||||
if (isOutsideWorld(blockposition)) {
|
if (isOutsideWorld(blockposition)) {
|
||||||
return Blocks.VOID_AIR.getBlockData();
|
return Blocks.VOID_AIR.getBlockData();
|
||||||
} else {
|
} else {
|
||||||
|
@@ -306,11 +510,11 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean J() {
|
||||||
|
- return this.worldProvider.getDimensionManager() == DimensionManager.OVERWORLD && this.c < 4;
|
||||||
|
+ return this.worldProvider.getDimensionManager().getType() == DimensionManager.OVERWORLD && this.c < 4; // CraftBukkit
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean K() {
|
||||||
|
- return this.worldProvider.getDimensionManager() == DimensionManager.OVERWORLD && !this.J();
|
||||||
|
+ return this.worldProvider.getDimensionManager().getType() == DimensionManager.OVERWORLD && !this.J(); // CraftBukkit
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@@ -432,9 +636,11 @@
|
@@ -432,9 +636,11 @@
|
||||||
TileEntity tileentity1 = (TileEntity) this.tileEntityListPending.get(i);
|
TileEntity tileentity1 = (TileEntity) this.tileEntityListPending.get(i);
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren