quick bugfix in entityenderman
reversed boolean check on event result
This commit is contained in:
parent
e13dff305e
commit
b8856e9ed9
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@
|
|||
protected boolean teleportTo(double par1, double par3, double par5)
|
||||
{
|
||||
+ EnderTeleportEvent event = new EnderTeleportEvent(this, par1, par3, par5);
|
||||
+ if (!MinecraftForge.EVENT_BUS.post(event)){
|
||||
+ if (MinecraftForge.EVENT_BUS.post(event)){
|
||||
+ return false;
|
||||
+ }
|
||||
+
|
||||
|
|
Loading…
Reference in a new issue