Fix several type-safety issues

This commit is contained in:
Joseph C. Sible committed 2017-09-23 22:21:28 -04:00
1 parent 2c4c997e02
commit b0bbf5cb68
38 files changed
+69 -68

No files matched your search

@@ -5,7 +5,7 @@ import java.util.Arrays;
import mekanism.common.tile.transmitter.TileEntitySidedPipe.ConnectionType;
import net.minecraftforge.common.property.IUnlistedProperty;
public class PropertyConnection implements IUnlistedProperty<PropertyConnection>
public final class PropertyConnection implements IUnlistedProperty<PropertyConnection>
{
public static PropertyConnection INSTANCE = new PropertyConnection();
@@ -37,9 +37,9 @@ public class PropertyConnection implements IUnlistedProperty<PropertyConnection>
}
@Override
public Class getType()
public Class<PropertyConnection> getType()
{
return getClass();
return PropertyConnection.class;
}
@Override