freekin egyptian braces
This commit is contained in:
1 parent
734dc95dab
commit
9bbaaccb3e
12 files changed
+626
-87
No files matched your search
@@ -45,9 +45,12 @@ public abstract class HopperBlockEntityMixin extends LootableContainerBlockEntit
|
||||
DyeColor wool_color = WoolTool.getWoolColorAtPosition(
|
||||
getWorld(),
|
||||
new BlockPos(getHopperX(), getHopperY(), getHopperZ()).offset(this.getCachedState().get(HopperBlock.FACING)));
|
||||
if (wool_color != null) {
|
||||
for (int i = 0; i < this.getInvSize(); ++i) {
|
||||
if (!this.getInvStack(i).isEmpty()) {
|
||||
if (wool_color != null)
|
||||
{
|
||||
for (int i = 0; i < this.getInvSize(); ++i)
|
||||
{
|
||||
if (!this.getInvStack(i).isEmpty())
|
||||
{
|
||||
ItemStack itemstack = this.getInvStack(i);//.copy();
|
||||
HopperCounter.COUNTERS.get(wool_color).add(this.getWorld().getServer(), itemstack);
|
||||
this.setInvStack(i, ItemStack.EMPTY);
|
||||
|
||||
Reference in new issue
Block a user