1
0
forked from xjboss/KCauldronX
KCauldronX/patches/org/bukkit/event/player/PlayerTeleportEvent.java.patch

18 lines
560 B
Diff
Raw Normal View History

2015-03-22 17:38:04 +00:00
--- ../src-base/minecraft/org/bukkit/event/player/PlayerTeleportEvent.java
+++ ../src-work/minecraft/org/bukkit/event/player/PlayerTeleportEvent.java
@@ -55,7 +55,14 @@
* portal
*/
END_PORTAL,
+ // Cauldron start - added cause for mods
/**
+ * Indicates the teleportation was caused by a player entering a
+ * Mod portal
+ */
+ MOD,
+ // Cauldron end
+ /**
* Indicates the teleportation was caused by an event not covered by
* this enum
*/