mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-28 16:06:04 +00:00
Improve code readability in binnie.extratrees package
This commit is contained in:
1 parent
adccdd181a
commit
96e4814ae3
225 files changed
+8968
-9306
No files matched your search
@@ -17,7 +17,7 @@ public interface IFluidType {
|
||||
|
||||
int getColor();
|
||||
|
||||
int getContainerColour();
|
||||
int getContainerColor();
|
||||
|
||||
int getTransparency();
|
||||
|
||||
|
||||
@@ -104,7 +104,7 @@ public class ItemFluidContainer extends ItemFood {
|
||||
return 16777215;
|
||||
}
|
||||
if (pass == 0 && fluid.getFluid() instanceof BinnieFluid) {
|
||||
return ((BinnieFluid) fluid.getFluid()).fluidType.getContainerColour();
|
||||
return ((BinnieFluid) fluid.getFluid()).fluidType.getContainerColor();
|
||||
}
|
||||
return super.getColorFromItemStack(item, pass);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user