quick bugfix in entityenderman

reversed boolean check on event result
This commit is contained in:
Mithion 2013-03-23 14:15:20 -04:00
parent e13dff305e
commit b8856e9ed9

View file

@ -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;
+ }
+