From c4f0a16af84d037b0eb1bf938bfae5f5c81c3258 Mon Sep 17 00:00:00 2001 From: SenseiKiwi Date: Tue, 16 Jul 2013 17:54:38 -0400 Subject: [PATCH] Minor Change to SchematicLoader Changed transformMetadata() from a public instance function to a private static function. I was curious as to whether it was being used by code outside SchematicLoader. The code compiles so it must be local-only. In the future, when we switch from using this function to the rotation class, the compiler will warn us that this function is no longer being used. Then we'll remember to remove it. --- StevenDimDoors/mod_pocketDim/SchematicLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StevenDimDoors/mod_pocketDim/SchematicLoader.java b/StevenDimDoors/mod_pocketDim/SchematicLoader.java index 9622334..40a895c 100644 --- a/StevenDimDoors/mod_pocketDim/SchematicLoader.java +++ b/StevenDimDoors/mod_pocketDim/SchematicLoader.java @@ -43,7 +43,7 @@ public class SchematicLoader public SchematicLoader() { } - public int transformMetadata(int metadata, int orientation, int blockID) + private static int transformMetadata(int metadata, int orientation, int blockID) { if (DungeonHelper.instance().metadataFlipList.contains(blockID)) {