Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulvdberge committed Oct 8, 2017
1 parent e2f1262 commit 90f61f9
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,9 @@
import com.raoulvdberge.refinedstorage.item.ItemEnergyItem;
import com.raoulvdberge.refinedstorage.item.ItemWirelessGrid;
import com.raoulvdberge.refinedstorage.network.MessageGridSettingsUpdate;
import com.raoulvdberge.refinedstorage.tile.data.TileDataWatcher;
import com.raoulvdberge.refinedstorage.util.StackUtils;
import net.minecraft.client.Minecraft;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.inventory.InventoryCraftResult;
import net.minecraft.inventory.InventoryCrafting;
import net.minecraft.item.ItemStack;
Expand All @@ -51,7 +49,6 @@ public class PortableGrid implements IGrid, IPortableGrid {
private ItemGridHandlerPortable handler = new ItemGridHandlerPortable(this, this);

private EntityPlayer player;
private List<TileDataWatcher> dummyWatchers = new ArrayList<>();
private ItemStack stack;

private int sortingType;
Expand Down Expand Up @@ -125,10 +122,6 @@ public PortableGrid(@Nullable EntityPlayer player, ItemStack stack) {
this.tabSelected = ItemWirelessGrid.getTabSelected(stack);
this.tabPage = ItemWirelessGrid.getTabPage(stack);
this.size = ItemWirelessGrid.getSize(stack);

if (player instanceof EntityPlayerMP) {
this.dummyWatchers.add(new TileDataWatcher((EntityPlayerMP) player, null));
}
}

if (!stack.hasTagCompound()) {
Expand Down

0 comments on commit 90f61f9

Please sign in to comment.