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