Hotfix SmartPlaceListener
Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
688270d311
Commit
247907e523
@ -75,12 +75,15 @@ public class SmartPlaceListener implements Listener {
|
||||
return;
|
||||
}
|
||||
|
||||
switch (event.getMaterial()) {
|
||||
case REPEATER:
|
||||
case COMPARATOR:
|
||||
return;
|
||||
default:
|
||||
break;
|
||||
if (event.getClickedBlock().getType() == event.getMaterial()) {
|
||||
switch (event.getMaterial()) {
|
||||
case HOPPER:
|
||||
case DISPENSER:
|
||||
case DROPPER:
|
||||
break;
|
||||
default:
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
event.setUseInteractedBlock(Event.Result.DENY);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren