13
0
geforkt von Mirrors/Paper

And AddTo is a different event than RemoveFrom

Dieser Commit ist enthalten in:
Aikar 2016-03-28 20:58:42 -04:00
Ursprung dab09d46bc
Commit 1180a5dd87

Datei anzeigen

@ -12,7 +12,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
}
entity.valid = true; // CraftBukkit
+ new com.destroystokyo.paper.event.entity.EntityRemoveFromWorldEvent(entity.getBukkitEntity()).callEvent(); // Paper - fire while valid
+ new com.destroystokyo.paper.event.entity.EntityAddToWorldEvent(entity.getBukkitEntity()).callEvent(); // Paper - fire while valid
}
protected void c(Entity entity) {