Unused imports + warnings )

This commit is contained in:
drcrazy 2019-08-22 01:23:32 +03:00
parent b8def12639
commit 154dff4cbf
17 changed files with 179 additions and 16 deletions

View file

@ -24,7 +24,7 @@
package techreborn.client.container.builder.slot;
import net.minecraft.block.entity.FurnaceBlockEntity;
import net.minecraft.block.entity.AbstractFurnaceBlockEntity;
import net.minecraft.inventory.Inventory;
import net.minecraft.item.ItemStack;
import net.minecraft.item.Items;
@ -39,7 +39,7 @@ public class FurnaceFuelSlot extends BaseSlot {
@Override
public boolean canInsert(ItemStack stack)
{
return FurnaceBlockEntity.canUseAsFuel(stack) || isBucket(stack);
return AbstractFurnaceBlockEntity.canUseAsFuel(stack) || isBucket(stack);
}
@Override

View file

@ -89,7 +89,6 @@ public class GuiManual extends Screen {
int centerX = (width / 2) - guiWidth / 2;
int centerY = (height / 2) - guiHeight / 2;
blit(centerX, centerY, 0, 0, guiWidth, guiHeight);
int y = height / 4;
font.draw(text1, ((width / 2) - font.getStringWidth(text1) / 2), centerY + 40, 4210752);
font.draw(text2, ((width / 2) - font.getStringWidth(text2) / 2), centerY + 90, 4210752);
if (TechRebornConfig.allowManualRefund) {