forked from Upstream/CommandPanels
3.17.4.3
This commit is contained in:
parent
082e6cd924
commit
a97337be43
@ -1,4 +1,4 @@
|
|||||||
version: 3.17.4.2
|
version: 3.17.4.3
|
||||||
main: me.rockyhawk.commandpanels.CommandPanels
|
main: me.rockyhawk.commandpanels.CommandPanels
|
||||||
name: CommandPanels
|
name: CommandPanels
|
||||||
author: RockyHawk
|
author: RockyHawk
|
||||||
|
@ -31,8 +31,10 @@ public class UtilsChestSortEvent implements Listener {
|
|||||||
//If the ChestSort plugin triggers an event
|
//If the ChestSort plugin triggers an event
|
||||||
if(e.getInventory().getType() == InventoryType.PLAYER){
|
if(e.getInventory().getType() == InventoryType.PLAYER){
|
||||||
for(int slot : plugin.hotbar.stationaryItems.get(e.getPlayer().getUniqueId()).list.keySet()){
|
for(int slot : plugin.hotbar.stationaryItems.get(e.getPlayer().getUniqueId()).list.keySet()){
|
||||||
|
if(e.getInventory().getItem(slot) != null) {
|
||||||
e.setUnmovable(slot);
|
e.setUnmovable(slot);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -103,7 +103,7 @@ public class Updater implements Listener {
|
|||||||
|
|
||||||
//the pluginFileName can only be obtained from the main class
|
//the pluginFileName can only be obtained from the main class
|
||||||
public void autoUpdatePlugin(String pluginFileName){
|
public void autoUpdatePlugin(String pluginFileName){
|
||||||
if (Objects.requireNonNull(plugin.config.getString("updater.update-checks")).equalsIgnoreCase("true")) {
|
if (Objects.requireNonNull(plugin.config.getString("updater.update-checks")).equalsIgnoreCase("false")) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user