mirror of
https://github.com/GTNewHorizons/bdlib.git
synced 2026-11-20 04:09:37 +00:00
Cleanup
This commit is contained in:
1 parent
a9e1e88ff2
commit
971fd94532
5 files changed
+2
-6
No files matched your search
@@ -15,7 +15,7 @@ import org.lwjgl.opengl.GL11
|
||||
class BaseSlot(inv: IInventory, slot: Int, x: Int, y: Int) extends Slot(inv, slot, x, y) {
|
||||
override def getBackgroundIconIndex = {
|
||||
// Workaround for bug in GuiContainer, color isn't reset if previous slot had an item with color.
|
||||
GL11.glColor4d(1,1,1,1)
|
||||
GL11.glColor4d(1, 1, 1, 1)
|
||||
super.getBackgroundIconIndex
|
||||
}
|
||||
}
|
||||
@@ -10,7 +10,6 @@
|
||||
package net.bdew.lib.gui
|
||||
|
||||
import net.minecraft.inventory.IInventory
|
||||
import net.minecraft.inventory.Slot
|
||||
import net.minecraft.item.ItemStack
|
||||
|
||||
class SlotValidating(inv: IInventory, slot: Int, x: Int, y: Int) extends BaseSlot(inv, slot, x, y) {
|
||||
|
||||
@@ -11,8 +11,6 @@ package net.bdew.lib.gui.widgets
|
||||
|
||||
import scala.collection.mutable
|
||||
import net.bdew.lib.gui.{WidgetContainer, Point, Rect}
|
||||
import net.minecraft.util.ResourceLocation
|
||||
import net.minecraft.client.Minecraft
|
||||
|
||||
trait BaseWidget {
|
||||
val rect: Rect
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
package net.bdew.lib.items.inventory
|
||||
|
||||
import net.minecraft.item.Item
|
||||
import net.bdew.lib.gui.{BaseScreen, GuiProvider}
|
||||
import net.bdew.lib.gui.GuiProvider
|
||||
import cpw.mods.fml.common.Loader
|
||||
import cpw.mods.fml.relauncher.{Side, SideOnly}
|
||||
import net.minecraft.entity.player.EntityPlayer
|
||||
|
||||
@@ -346,7 +346,6 @@ class RecipeLoader {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Process a list of statements and catch all exceptions
|
||||
* @param r The list to process
|
||||
|
||||
Reference in new issue
Block a user