public void takeFromContainer(int playerID, int index) {
		Player p = this.playerIDs.get(playerID);
		if (p != null) {
			Location on = p.getLocationInFrontOf();
			if (board.tileAt(on).getOn() != null && board.tileAt(on).getOn() instanceof Inventory) {
				Inventory takingFrom = (Inventory)board.tileAt(on).getOn();
				if (index < takingFrom.size()) {
					Item toTake = takingFrom.getContents().get(index);
					if (p.addItemToInventory(toTake)) {
						takingFrom.removeItem(toTake);
						server.queuePlayerUpdate(new PickUpItemEvent(toTake), playerID);
						for (int id: playerIDs.keySet()) {
							server.queuePlayerUpdate(new RemoveFromContainerEvent(on, index), id);
						}
					}
				}
			}
		}
	}