Fix signs going blank

Sign text is not limited to 16 characters anymore, but to the width of
the sign. Server: Stop being such a control freak
This commit is contained in:
dktapps 2016-07-24 16:08:27 +01:00 committed by Dylan K. Taylor
parent 378c3d7994
commit 895790f46c

View File

@ -2812,12 +2812,6 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
if(!isset($t->namedtag->Creator) or $t->namedtag["Creator"] !== $this->getRawUniqueId()){
$ev->setCancelled();
}else{
foreach($ev->getLines() as $line){
if(mb_strlen($line, "UTF-8") > 16){
$ev->setCancelled();
}
}
}
$this->server->getPluginManager()->callEvent($ev);