parent
862e7946c6
commit
6d5205a3bd
|
@ -6,7 +6,7 @@ website: http://www.15imc.com/index.html
|
|||
|
||||
main: me.skymc.taboolib.Main
|
||||
|
||||
version: 3.825
|
||||
version: 3.826
|
||||
|
||||
commands:
|
||||
taboolib:
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,2 @@
|
|||
#Sat Mar 10 19:32:51 CST 2018
|
||||
gradle.version=4.5
|
|
@ -65,7 +65,7 @@ public class ItemLibraryPatch implements Listener {
|
|||
if (page > 1) {
|
||||
inventory.setItem(47, ItemUtils.setName(new ItemStack(Material.ARROW), "§f上一页"));
|
||||
}
|
||||
if (((int) Math.ceil(ItemUtils.getItemCaches().size() / 28D)) > page) {
|
||||
if (((int) Math.ceil(map.size() / 28D)) > page) {
|
||||
inventory.setItem(51, ItemUtils.setName(new ItemStack(Material.ARROW), "§f下一页"));
|
||||
}
|
||||
player.openInventory(inventory);
|
||||
|
|
|
@ -78,7 +78,7 @@ public class SpecialItem implements Listener {
|
|||
*/
|
||||
public void cancel(String name) {
|
||||
for (AbstractSpecialItem specialitem : ITEM_DATA) {
|
||||
if (specialitem.getName() != null && specialitem.getName().equals(specialitem)) {
|
||||
if (specialitem.getName() != null && specialitem.getName().equals(specialitem.getName())) {
|
||||
specialitem.onDisable();
|
||||
ITEM_DATA.remove(specialitem);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue