Refactoring and fixes

This commit is contained in:
Marcel Konrad
2018-06-28 01:07:15 +02:00
parent 70c7419795
commit eb91ad9753
31 changed files with 245 additions and 79 deletions

View File

@@ -1,11 +1,14 @@
package exopandora.worldhandler.helper;
import javax.annotation.Nullable;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
@SideOnly(Side.CLIENT)
public class EnumHelper
{
@Nullable
public static <T extends Enum<T>> T valueOf(Class<T> klass, String name)
{
try