mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-26 06:42:57 +00:00
Missing override annotations
This commit is contained in:
1 parent
dd87a326df
commit
c497bb516e
6 files changed
+10
No files matched your search
@@ -115,6 +115,7 @@ public abstract class BaseContainer<T extends TileEntity> extends Container {
|
||||
(double) pos.getZ() + 0.5d) <= maxDist;
|
||||
}
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<ItemStack> getInventory() {
|
||||
return super.getInventory();
|
||||
@@ -211,6 +212,7 @@ public abstract class BaseContainer<T extends TileEntity> extends Container {
|
||||
}
|
||||
|
||||
// Fix for a vanilla bug: doesn't take Slot.getMaxStackSize into account
|
||||
@Override
|
||||
protected boolean mergeItemStack(ItemStack stack, int startIndex, int endIndex, boolean useEndIndex) {
|
||||
boolean ret = mergeItemStackRefill(stack, startIndex, endIndex, useEndIndex);
|
||||
if(stack != null && stack.stackSize > 0) {
|
||||
|
||||
Reference in new issue
Block a user