MyWarp

MyWarp

220k Downloads

Update warp safety with blocks from 1.8 to 1.11

TheE opened this issue ยท 1 comments

commented

Due to the discontinuation of the 'official' Bukkit, MyWarp is currently still build against Bukkit 1.7.10. While I have made sure that it works with versions of CraftBukkit and Spigot released for newer Minecraft versions, it is my intention to continue supporting 1.7.10 and thus not relying on API additions done beyond 1.7.10.

However, the warp safety implementation of mywarp-bukkit has no support for any unsafe blocks added beyond 1.7. This should be changed, maybe be rewriting the warp safety to use a modular system with individual block definitions for each Minecraft version.

commented

Turns out, switch-case works even if a enum field does not exist.