Fixed Rotation in SchematicLoader
Fixed reference to CommandRegenPocket - should be CommandResetDungeons. Autofixed indentation in SchematicLoader. I wanted to commit that change before doing any more code changes but I forgot. Then I fixed the code that calculates the coordinate offsets so our dungeons rotate right. It was pretty simple - all I had to do was move the xCooe and zCooe calculations into the loops so they're recalculated to account for rotation. I rearranged the loops for optimal performance.
This commit is contained in:
@@ -391,7 +391,7 @@ public class mod_pocketDim
|
||||
@ServerStarting
|
||||
public void serverStarting(FMLServerStartingEvent event)
|
||||
{
|
||||
CommandRegenPocket.instance().register(event);
|
||||
CommandResetDungeons.instance().register(event);
|
||||
CommandCreateDungeonRift.instance().register(event);
|
||||
CommandDeleteAllLinks.instance().register(event);
|
||||
CommandDeleteDimensionData.instance().register(event);
|
||||
|
||||
Reference in New Issue
Block a user