Sign updates are done via the event listeners.
This commit is contained in:
parent
0cb6d7ca84
commit
b23bdaa89b
@ -248,10 +248,6 @@ public class PrisonerManager {
|
||||
|
||||
player.getInventory().setArmorContents(null);
|
||||
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 {
|
||||
for(ItemStack item : player.getInventory().getContents())
|
||||
if(item != null)
|
||||
|
@ -11,7 +11,7 @@ import org.bukkit.block.Chest;
|
||||
*
|
||||
* @author graywolf336
|
||||
* @since 3.0.0
|
||||
* @version 1.1.2
|
||||
* @version 1.1.3
|
||||
*/
|
||||
public class Cell {
|
||||
private String name;
|
||||
@ -33,11 +33,6 @@ public class Cell {
|
||||
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. */
|
||||
public void setPrisoner(Prisoner prisoner) {
|
||||
this.p = prisoner;
|
||||
|
Loading…
Reference in New Issue
Block a user