From 949ae5707d3ebad1113e6a9a0500f3537557b656 Mon Sep 17 00:00:00 2001 From: SenseiKiwi Date: Wed, 26 Jun 2013 01:19:28 -0400 Subject: [PATCH] Minor Fix Fixed variable initialization to keep the compiler happy. --- StevenDimDoors/mod_pocketDim/SchematicLoader.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/StevenDimDoors/mod_pocketDim/SchematicLoader.java b/StevenDimDoors/mod_pocketDim/SchematicLoader.java index 5e900db..31c10f4 100644 --- a/StevenDimDoors/mod_pocketDim/SchematicLoader.java +++ b/StevenDimDoors/mod_pocketDim/SchematicLoader.java @@ -733,7 +733,6 @@ public class SchematicLoader public void generateSchematic(int riftX, int riftY, int riftZ, int orientation, int destDimID, int originDimID, String schematicPath) { - short width=0; short height=0; short length=0; @@ -857,7 +856,9 @@ public class SchematicLoader int x, y, z; //relative offset between the schematic coords and world coords - int offsetX, offsetY, offsetZ; + int offsetX = 0; + int offsetY = 0; + int offsetZ = 0; //first loop through the .schematic to load in all rift locations, and monolith spawn locations. //also finds the incomingLink location, which determines the final position of the generated .schematic -- 2.39.5