After transferring update the signs.
This commit is contained in:
		@@ -750,6 +750,12 @@ public class PrisonerManager {
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
 | 
					        //Update the signs of both cells
 | 
				
			||||||
 | 
					        if(originCell != null)
 | 
				
			||||||
 | 
					            originCell.updateSigns();
 | 
				
			||||||
 | 
					        if(targetCell != null)
 | 
				
			||||||
 | 
					            targetCell.updateSigns();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        //Throw our custom event PrisonerTransferredEvent to say it was successful
 | 
					        //Throw our custom event PrisonerTransferredEvent to say it was successful
 | 
				
			||||||
        PrisonerTransferredEvent event = new PrisonerTransferredEvent(originJail, originCell, targetJail, targetCell, prisoner, player);
 | 
					        PrisonerTransferredEvent event = new PrisonerTransferredEvent(originJail, originCell, targetJail, targetCell, prisoner, player);
 | 
				
			||||||
        pl.getServer().getPluginManager().callEvent(event);
 | 
					        pl.getServer().getPluginManager().callEvent(event);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user