3
0

Fix inventory erase when player respawns by mods or plugins

Close #301
This commit is contained in:
Sergey Shatunov
2016-02-01 18:50:02 +07:00
parent 12b0a52ae0
commit 07698c433a
3 changed files with 8 additions and 5 deletions

View File

@ -1,6 +1,6 @@
--- ../src-base/minecraft/org/bukkit/event/player/PlayerTeleportEvent.java
+++ ../src-work/minecraft/org/bukkit/event/player/PlayerTeleportEvent.java
@@ -55,11 +55,27 @@
@@ -55,11 +55,30 @@
* portal
*/
END_PORTAL,
@ -11,6 +11,9 @@
+ */
+ MOD,
+ // Cauldron end
+ // KCauldron start
+ DEATH,
+ // KCauldron end
+ /**
* Indicates the teleportation was caused by an event not covered by
* this enum