HorseNuggets / TerminatorPlus

the epic plugin
Eclipse Public License 2.0
145 stars 53 forks source link

Don't check if the world is the nether by name #27

Closed Badbird5907 closed 3 years ago

Badbird5907 commented 3 years ago

replaced World#getName.equals("world_nether") with bot.getBukkitEntity().getWorld().getEnvironment() == World.Environment.NETHER, this would make it work with servers that have different world names

HorseNuggets commented 3 years ago

oh yeah haha I originally had it like that bc I was rushing to show that feature as a visual, but thanks lol