Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
1dcb2641e0
Commit
572b8bc3c8
@ -39,6 +39,10 @@ public class BlockPlaceBehaviour implements SmartPlaceBehaviour {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SmartPlaceResult place(BlockPlaceEvent event) {
|
public SmartPlaceResult place(BlockPlaceEvent event) {
|
||||||
|
if (event.getBlockAgainst().getType().isInteractable()) {
|
||||||
|
return SmartPlaceResult.IGNORED;
|
||||||
|
}
|
||||||
|
|
||||||
SmartPlaceResult smartPlaceResult = SmartPlaceResult.IGNORED;
|
SmartPlaceResult smartPlaceResult = SmartPlaceResult.IGNORED;
|
||||||
Block block = event.getBlockPlaced();
|
Block block = event.getBlockPlaced();
|
||||||
BlockData blockData = block.getBlockData();
|
BlockData blockData = block.getBlockData();
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren