修复了只能使用背包中第一个潜影盒的bug
This commit is contained in:
parent
5d3e0cf7f3
commit
486f30c07b
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>site.deercloud</groupId>
|
||||
<artifactId>LiteWorldEdit</artifactId>
|
||||
<version>1.5.12-SNAPSHOT</version>
|
||||
<version>1.5.13-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>LiteWorldEdit</name>
|
||||
|
@ -100,7 +100,7 @@ public class Place extends Job {
|
||||
Inventory boxInv = shulkerBox.getInventory();
|
||||
int item_idx = boxInv.first(_block);
|
||||
if (item_idx == -1) {
|
||||
return false;
|
||||
continue;
|
||||
}
|
||||
// 把物品放到玩家物品栏
|
||||
_inventory.addItem(boxInv.getItem(item_idx));
|
||||
|
Loading…
Reference in New Issue
Block a user