1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-17 20:11:21 +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";
switch (w.getEnvironment())
{
case World.Environment.NETHER:
case NETHER:
worldType = "Nether";
break;
case World.Environment.THE_END:
case THE_END:
worldType = "The End";
break;
}