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.
This commit is contained in:
@@ -43,7 +43,7 @@ public class SchematicLoader
|
|||||||
|
|
||||||
public 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))
|
if (DungeonHelper.instance().metadataFlipList.contains(blockID))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user