Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-19 21:10:10 +01:00
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)) {
|
||||
defaultReturn = false; // CraftBukkit
|
||||
} 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;
|
||||
}
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren