mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-25 06:14:46 +00:00
Fixed or suppressed warnings for rawtypes and unchecked
This commit is contained in:
1 parent
d314642d77
commit
2ae2cf8896
27 files changed
+54
-40
No files matched your search
@@ -20,6 +20,7 @@ import forestry.plugins.PluginApiculture;
|
||||
|
||||
public class GuiHandlerPipes implements IGuiHandler {
|
||||
|
||||
@SuppressWarnings("rawtypes")
|
||||
private Pipe getPipe(World world, int x, int y, int z) {
|
||||
TileEntity tile = world.getTileEntity(x, y, z);
|
||||
if (tile == null)
|
||||
@@ -32,6 +33,7 @@ public class GuiHandlerPipes implements IGuiHandler {
|
||||
}
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("rawtypes")
|
||||
public Object getClientGuiElement(int id, EntityPlayer player, World world, int x, int y, int z) {
|
||||
|
||||
if (id >= GuiId.values().length)
|
||||
|
||||
Reference in new issue
Block a user