版本更新至:3.826
修复:/tlib itemlist 指令翻页检测的问题
This commit is contained in:
		@@ -6,7 +6,7 @@ website: http://www.15imc.com/index.html
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
main: me.skymc.taboolib.Main
 | 
					main: me.skymc.taboolib.Main
 | 
				
			||||||
 | 
					
 | 
				
			||||||
version: 3.825
 | 
					version: 3.826
 | 
				
			||||||
 | 
					
 | 
				
			||||||
commands:
 | 
					commands:
 | 
				
			||||||
  taboolib:
 | 
					  taboolib:
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										
											BIN
										
									
								
								src/.gradle/4.5/taskHistory/taskHistory.bin
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/.gradle/4.5/taskHistory/taskHistory.bin
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								src/.gradle/4.5/taskHistory/taskHistory.lock
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/.gradle/4.5/taskHistory/taskHistory.lock
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								src/.gradle/buildOutputCleanup/buildOutputCleanup.lock
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/.gradle/buildOutputCleanup/buildOutputCleanup.lock
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										2
									
								
								src/.gradle/buildOutputCleanup/cache.properties
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								src/.gradle/buildOutputCleanup/cache.properties
									
									
									
									
									
										Normal file
									
								
							@@ -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) {
 | 
							if (page > 1) {
 | 
				
			||||||
			inventory.setItem(47, ItemUtils.setName(new ItemStack(Material.ARROW), "§f上一页"));
 | 
								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下一页"));
 | 
								inventory.setItem(51, ItemUtils.setName(new ItemStack(Material.ARROW), "§f下一页"));
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		player.openInventory(inventory);
 | 
							player.openInventory(inventory);
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -78,7 +78,7 @@ public class SpecialItem implements Listener {
 | 
				
			|||||||
	 */
 | 
						 */
 | 
				
			||||||
	public void cancel(String name) {
 | 
						public void cancel(String name) {
 | 
				
			||||||
		for (AbstractSpecialItem specialitem : ITEM_DATA) {
 | 
							for (AbstractSpecialItem specialitem : ITEM_DATA) {
 | 
				
			||||||
			if (specialitem.getName() != null && specialitem.getName().equals(specialitem)) {
 | 
								if (specialitem.getName() != null && specialitem.getName().equals(specialitem.getName())) {
 | 
				
			||||||
				specialitem.onDisable();
 | 
									specialitem.onDisable();
 | 
				
			||||||
				ITEM_DATA.remove(specialitem);
 | 
									ITEM_DATA.remove(specialitem);
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user