mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-28 15:36:18 +00:00
Code cleanup and remove some unused code
This commit is contained in:
1 parent
f0f8c9a984
commit
fdf3493ed0
295 files changed
+899
-2840
No files matched your search
@@ -39,7 +39,7 @@ public abstract class FarmLogicWatered extends FarmLogic {
|
||||
|
||||
ArrayList<ItemStack> produce = new ArrayList<ItemStack>();
|
||||
|
||||
public FarmLogicWatered(IFarmHousing housing, ItemStack resource, ItemStack ground) {
|
||||
protected FarmLogicWatered(IFarmHousing housing, ItemStack resource, ItemStack ground) {
|
||||
super(housing);
|
||||
this.ground = ground;
|
||||
this.resource = resource;
|
||||
@@ -55,7 +55,7 @@ public abstract class FarmLogicWatered extends FarmLogic {
|
||||
return (int) (20 * hydrationModifier);
|
||||
}
|
||||
|
||||
public boolean isAcceptedGround(ItemStack ground) {
|
||||
protected boolean isAcceptedGround(ItemStack ground) {
|
||||
return StackUtils.isIdenticalItem(this.ground, ground);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user