2.5.16 #1

Merged
JaTiTV merged 8 commits from 2.5.16_DEV into main 2021-12-31 03:24:42 +00:00
Showing only changes of commit a80d0d3e43 - Show all commits

View File

@ -60,9 +60,7 @@ public class ItemChange {
} }
} }
if (!SelectConfig.UseItem_AllowToggle || Select_Database.selectItemStatus(player)) { if (!SelectConfig.UseItem_AllowToggle || Select_Database.selectItemStatus(player)) {
send.debugmsg(Main.plugin, "1");
if (SelectConfig.UseItem_InventorySlotEnforce || player.getInventory().getItem(slot - 1) == null) { if (SelectConfig.UseItem_InventorySlotEnforce || player.getInventory().getItem(slot - 1) == null) {
send.debugmsg(Main.plugin, "2");
Give_UseItem.onGive(player); Give_UseItem.onGive(player);
if (SelectConfig.Cursor_ToGUIItem_OnLogin) { if (SelectConfig.Cursor_ToGUIItem_OnLogin) {
if (SelectConfig.Cursor_ToGUIItem_OnlyOnFirstLogin) { if (SelectConfig.Cursor_ToGUIItem_OnlyOnFirstLogin) {