Sign updates are done via the event listeners.

This commit is contained in:
graywolf336 2015-02-10 12:16:45 -06:00
parent 0cb6d7ca84
commit b23bdaa89b
2 changed files with 1 additions and 10 deletions

View File

@ -248,10 +248,6 @@ public class PrisonerManager {
player.getInventory().setArmorContents(null); player.getInventory().setArmorContents(null);
player.getInventory().clear(); player.getInventory().clear();
//Here so we don't forget about it later as this method isn't finished, but
//Updates the cell's signs
cell.update();
}else { }else {
for(ItemStack item : player.getInventory().getContents()) for(ItemStack item : player.getInventory().getContents())
if(item != null) if(item != null)

View File

@ -11,7 +11,7 @@ import org.bukkit.block.Chest;
* *
* @author graywolf336 * @author graywolf336
* @since 3.0.0 * @since 3.0.0
* @version 1.1.2 * @version 1.1.3
*/ */
public class Cell { public class Cell {
private String name; private String name;
@ -33,11 +33,6 @@ public class Cell {
return this.name; return this.name;
} }
/** Updates the signs of the cell, with the player name and time and such. TODO */
public void update() {
//TODO: Update the signs
}
/** Sets the prisoner in this cell. */ /** Sets the prisoner in this cell. */
public void setPrisoner(Prisoner prisoner) { public void setPrisoner(Prisoner prisoner) {
this.p = prisoner; this.p = prisoner;