mirror of
https://e.coding.net/circlecloud/QuickShop.git
synced 2024-12-27 07:48:48 +00:00
fix: 修复方块更新在1.9的报错
Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
parent
bbea4b57f8
commit
9a5b3cb09f
@ -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);
|
||||
bs.update(true);
|
||||
PluginKit.runTask(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
bs.update(true);
|
||||
}
|
||||
});
|
||||
shop.setSignText();
|
||||
}
|
||||
if (shop instanceof ContainerShop) {
|
||||
|
Loading…
Reference in New Issue
Block a user