geforkt von Mirrors/Paper
Fix porting issue in World.mayPlace Fixes BUKKIT-915
Dieser Commit ist enthalten in:
Ursprung
82f2a2e773
Commit
2510af0d1a
@ -2555,7 +2555,7 @@ public class World implements IBlockAccess {
|
|||||||
if (axisalignedbb != null && !this.containsEntity(axisalignedbb)) {
|
if (axisalignedbb != null && !this.containsEntity(axisalignedbb)) {
|
||||||
defaultReturn = false; // CraftBukkit
|
defaultReturn = false; // CraftBukkit
|
||||||
} else {
|
} else {
|
||||||
if (block == Block.WATER || block == Block.STATIONARY_WATER || block == Block.LAVA || block == Block.STATIONARY_LAVA || block == Block.FIRE || block == Block.SNOW || block == Block.VINE) {
|
if (block != null && (block == Block.WATER || block == Block.STATIONARY_WATER || block == Block.LAVA || block == Block.STATIONARY_LAVA || block == Block.FIRE || block.material.isReplacable())) {
|
||||||
block = null;
|
block = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren