generated from tilera/1710mod
fix: remove some warnings
This commit is contained in:
parent
911352f2eb
commit
0b1915134d
2 changed files with 2 additions and 1 deletions
|
@ -62,7 +62,7 @@ public abstract class MixinClientTickEventsFML {
|
|||
int guiTop = (gui.height - ys) / 2;
|
||||
if (this.isMouseOverSlot(var23, var16, var17, guiLeft, guiTop) && var23.getStack() != null) {
|
||||
int h = ScanManager.generateItemHash(var23.getStack().getItem(), var23.getStack().getItemDamage());
|
||||
List<String> list = (List)Thaumcraft.proxy.getScannedObjects().get(player.getCommandSenderName());
|
||||
List<String> list = Thaumcraft.proxy.getScannedObjects().get(player.getCommandSenderName());
|
||||
if (Config.noScanning() || (list != null && (list.contains("@" + h) || list.contains("#" + h)))) {
|
||||
AspectList tags = ThaumcraftCraftingManager.getObjectTags(var23.getStack());
|
||||
tags = ThaumcraftCraftingManager.getBonusTags(var23.getStack(), tags);
|
||||
|
|
|
@ -96,6 +96,7 @@ public class WorldGenerator implements IWorldGenerator {
|
|||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings({"unused"})
|
||||
private boolean generateAura(World world, Random random, int chunkX, int chunkZ, boolean auraGen, boolean newGen) {
|
||||
if (random.nextInt(Config.nodeRarity) == 0 && !auraGen) {
|
||||
int y;
|
||||
|
|
Loading…
Reference in a new issue