Further refactoring of Iron machines

This commit is contained in:
drcrazy 2019-08-26 23:31:56 +03:00
parent 2b28281d90
commit 6ceb6e69cf
5 changed files with 215 additions and 203 deletions

View file

@ -82,7 +82,7 @@ public class DataDrivenSlot {
}
@Environment(EnvType.CLIENT)
public void draw(GuiBase guiBase, GuiBase.Layer layer){
public void draw(GuiBase<?> guiBase, GuiBase.Layer layer){
//TODO find a better way to do this
if(getType() == SlotType.OUTPUT){
guiBase.drawOutputSlot(getX(), getY(), layer);