mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-27 23:33:08 +00:00
Fix several type-safety issues
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user