Fix EntityDamageEvent not being cancellable

This commit is contained in:
KrystilizeNevaDies 2021-01-10 14:18:16 +10:00 committed by GitHub
parent 1859f513e5
commit 23e70208a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,6 +63,6 @@ public class EntityDamageEvent extends EntityEvent implements CancellableEvent {
@Override
public void setCancelled(boolean cancel) {
this.cancelled = cancelled;
this.cancelled = cancel;
}
}