Fix large swath of warnings, fix most render-methods

This commit is contained in:
skyboy
2013-11-06 18:15:30 -05:00
parent d849071e8e
commit 4cfd5475de
74 changed files with 797 additions and 808 deletions

View File

@@ -47,6 +47,7 @@ public class CompactBoundsOperation extends WorldOperation
return true;
}
@Override
protected boolean finish()
{
if (minX == Integer.MAX_VALUE)

View File

@@ -118,6 +118,7 @@ public class Schematic {
public static Schematic readFromFile(File schematicFile) throws FileNotFoundException, InvalidSchematicException
{
// TODO: fix resource leaks here
return readFromStream(new FileInputStream(schematicFile));
}
@@ -329,7 +330,7 @@ public class Schematic {
{
//Used when the result of this function will be passed outside this class.
//Avoids exposing the private field to external modifications.
schematicTag.setTag("TileEntities", (NBTTagList) tileEntities.copy());
schematicTag.setTag("TileEntities", tileEntities.copy());
}
else
{

View File

@@ -48,6 +48,7 @@ public class SchematicFilter {
return true;
}
@Override
public String toString()
{
return name;