geforkt von Mirrors/FastAsyncWorldEdit
Break on event cancel
Dieser Commit ist enthalten in:
Ursprung
685a3c015f
Commit
dfb1195242
@ -92,6 +92,7 @@ public class FreeBuildRegion extends BukkitMaskManager {
|
|||||||
try {
|
try {
|
||||||
for (RegisteredListener listener : listeners) {
|
for (RegisteredListener listener : listeners) {
|
||||||
listener.callEvent(event);
|
listener.callEvent(event);
|
||||||
|
if (event.isCancelled()) break;
|
||||||
}
|
}
|
||||||
} catch (EventException e) {
|
} catch (EventException e) {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren