1
0
mirror of https://e.coding.net/circlecloud/QuickShop.git synced 2024-11-24 02:18:54 +00:00

fix: 修复方块更新在1.9的报错

Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
502647092 2016-06-06 20:39:14 +08:00
parent bbea4b57f8
commit 9a5b3cb09f

View File

@ -24,6 +24,8 @@ import org.maxgamer.QuickShop.Database.Database;
import org.maxgamer.QuickShop.Util.MsgUtil;
import org.maxgamer.QuickShop.Util.Util;
import cn.citycraft.PluginHelper.kit.PluginKit;
public class ShopManager {
private final HashMap<String, Info> actions = new HashMap<String, Info>();
@ -296,7 +298,12 @@ public class ShopManager {
bs.setType(Material.WALL_SIGN);
final Sign sign = (Sign) bs.getData();
sign.setFacingDirection(bf);
PluginKit.runTask(new Runnable() {
@Override
public void run() {
bs.update(true);
}
});
shop.setSignText();
}
if (shop instanceof ContainerShop) {