diff --git a/pom.xml b/pom.xml
index 4a73ac1..9354fc3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
4.0.0
org.maxgamer
QuickShop
- 1.8.1
+ 1.8.2
快捷商店重置版本...
${project.name}
@@ -56,7 +56,7 @@
http://ci.citycraft.cn:8080
DEBUG
&a全新版本 &c虚拟悬浮物(橙子提供 对 就是那个汉化COI的逗比) &e7老板修复逗比BUG...
- &c修复PlayerInteractEvent错误参数导致GuiShopManager的报错...
+ &c修复PlayerInteractEvent错误参数导致GuiShopManager的报错...;&c修复箱子的标题为Null是产生的报错...
UTF-8
diff --git a/src/main/java/org/maxgamer/QuickShop/Listeners/ProtectListener.java b/src/main/java/org/maxgamer/QuickShop/Listeners/ProtectListener.java
index 78f30e6..cb369f1 100644
--- a/src/main/java/org/maxgamer/QuickShop/Listeners/ProtectListener.java
+++ b/src/main/java/org/maxgamer/QuickShop/Listeners/ProtectListener.java
@@ -84,7 +84,7 @@ public class ProtectListener implements Listener {
final Inventory inv = e.getInventory();
final int solt = e.getSlot();
if (inv.getType() != InventoryType.PLAYER && inv.getType() != InventoryType.HOPPER) {
- if (inv.getTitle().equalsIgnoreCase(plugin.getConfigManager().getGuiTitle())) {
+ if (inv.getTitle() != null && inv.getTitle().equalsIgnoreCase(plugin.getConfigManager().getGuiTitle())) {
e.setCancelled(true);
p.closeInventory();
}