SPIGOT-2106, SPIGOT-3942: Improve collidable API
By: Phoenix616 <mail@moep.tv>
This commit is contained in:
@@ -27,6 +27,15 @@
|
||||
if (entityhuman.isCreative() || !this.isInvulnerable()) {
|
||||
this.damageEntity(DamageSource.playerAttack(entityhuman), Float.MAX_VALUE);
|
||||
}
|
||||
@@ -315,7 +315,7 @@
|
||||
|
||||
@Override
|
||||
public boolean isCollidable() {
|
||||
- return true;
|
||||
+ return super.isCollidable(); // CraftBukkit - collidable API
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -330,7 +330,7 @@
|
||||
if (this.isInvulnerable(damagesource)) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user