1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-18 04:21:31 +02:00

fix the last commit to use the enum values correctly

This commit is contained in:
Philip Muskovac
2012-08-04 13:28:46 +02:00
parent 8a100886e9
commit 5ec004b1f7

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;
} }