mirror of
https://github.com/GTNewHorizons/Postea.git
synced 2026-11-21 04:32:19 +00:00
Spotless + remove debug code
This commit is contained in:
1 parent
152b8d4dc5
commit
318af9da8c
3 files changed
+10
-7
No files matched your search
@@ -2,8 +2,16 @@ package com.colen.postea;
|
||||
|
||||
import static com.colen.postea.API.BlockReplacementManager.blockReplacementMap;
|
||||
import static com.colen.postea.API.BlockReplacementManager.posteaMarkedIDs;
|
||||
import static com.colen.postea.Utility.ChunkFixerUtility.POSTEA_UPDATE_CODE;
|
||||
import static com.colen.postea.Utility.PosteaUtilities.cleanseNBT;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.nbt.NBTTagList;
|
||||
|
||||
import com.colen.postea.API.TileEntityReplacementManager;
|
||||
import com.colen.postea.Utility.BlockInfo;
|
||||
|
||||
import cpw.mods.fml.common.Mod;
|
||||
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||
@@ -15,9 +23,8 @@ import cpw.mods.fml.common.event.FMLServerStoppingEvent;
|
||||
public class Postea {
|
||||
|
||||
@Mod.EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event) {
|
||||
public void preInit(FMLPreInitializationEvent event) { }
|
||||
|
||||
}
|
||||
|
||||
@Mod.EventHandler
|
||||
public void onServerStarting(FMLServerAboutToStartEvent event) {
|
||||
|
||||
@@ -62,9 +62,6 @@ public class ChunkFixerUtility {
|
||||
byte[] metadataArray = section.getByteArray("Data16");
|
||||
|
||||
byte sectionY = section.getByte("Y");
|
||||
System.out.println("Y: " + sectionY);
|
||||
System.out.println("i: " + i);
|
||||
System.out.println("sections.tagCount(): " + sections.tagCount());
|
||||
|
||||
for (int index = 0; index < blockArray.length / 2; index++) {
|
||||
// Horrible bit jank to recreate the actual IDs, because the array is just a byte array.
|
||||
@@ -111,7 +108,6 @@ public class ChunkFixerUtility {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static void transformTileEntities(NBTTagCompound levelCompoundTag, World world) {
|
||||
|
||||
Reference in new issue
Block a user