this doesn't compile yet, but have something to peek at

This commit is contained in:
Nicholas Ignoffo 2017-08-14 20:53:42 -07:00
parent 973f1019a5
commit 5fcdd978d7
329 changed files with 3247 additions and 2953 deletions
src/main/java/WayofTime/bloodmagic/demonAura

View file

@ -54,14 +54,14 @@ public class WorldDemonWillHandler
if (!containedWills.containsKey(dim))
{
containedWills.put(dim, new WillWorld(dim));
BloodMagicAPI.getLogger().info("Creating demon will cache for world " + dim);
BloodMagicAPI.logger.info("Creating demon will cache for world " + dim);
}
}
public static void removeWillWorld(int dim)
{
containedWills.remove(dim);
BloodMagicAPI.getLogger().info("Removing demon will cache for world " + dim);
BloodMagicAPI.logger.info("Removing demon will cache for world " + dim);
}
public static void addWillChunk(int dim, Chunk chunk, short base, DemonWillHolder currentWill)
@ -71,7 +71,7 @@ public class WorldDemonWillHandler
{
aw = new WillWorld(dim);
}
aw.getWillChunks().put(new PosXY(chunk.xPosition, chunk.zPosition), new WillChunk(chunk, base, currentWill));
aw.getWillChunks().put(new PosXY(chunk.x, chunk.z), new WillChunk(chunk, base, currentWill));
containedWills.put(dim, aw);
}