Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-20 05:20:07 +01:00
Place beds with the correct data. Fixes BUKKIT-3447
Dieser Commit ist enthalten in:
Ursprung
3d133d7abd
Commit
d577b840d4
@ -41,7 +41,7 @@ public class ItemBed extends Item {
|
|||||||
if (world.isEmpty(i, j, k) && world.isEmpty(i + b0, j, k + b1) && world.v(i, j - 1, k) && world.v(i + b0, j - 1, k + b1)) {
|
if (world.isEmpty(i, j, k) && world.isEmpty(i + b0, j, k + b1) && world.v(i, j - 1, k) && world.v(i + b0, j - 1, k + b1)) {
|
||||||
// CraftBukkit start
|
// CraftBukkit start
|
||||||
//world.setTypeIdAndData(i, j, k, blockbed.id, i1);
|
//world.setTypeIdAndData(i, j, k, blockbed.id, i1);
|
||||||
if (!ItemBlock.processBlockPlace(world, entityhuman, null, i, j, k, blockbed.id, l)) {
|
if (!ItemBlock.processBlockPlace(world, entityhuman, null, i, j, k, blockbed.id, i1)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren