1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-17 20:11:21 +02:00

Merge pull request #110 from Yofel/master

use the correct enum types in the switch
This commit is contained in:
Iaccidentally
2012-08-06 03:49:58 -07:00

View File

@@ -38,10 +38,10 @@ public class Commandgc extends EssentialsCommand
String worldType = "World"; String worldType = "World";
switch (w.getEnvironment()) switch (w.getEnvironment())
{ {
case World.Environment.NETHER: case NETHER:
worldType = "Nether"; worldType = "Nether";
break; break;
case World.Environment.THE_END: case THE_END:
worldType = "The End"; worldType = "The End";
break; break;
} }