mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-09-28 22:47:46 +02:00
Add latest test profile
This commit is contained in:
parent
d1f6b1616b
commit
6a34054bc7
18
pom.xml
18
pom.xml
@ -483,6 +483,24 @@
|
|||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
|
|
||||||
|
<profile>
|
||||||
|
<id>latest</id>
|
||||||
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>paper-repo</id>
|
||||||
|
<url>https://papermc.io/repo/repository/maven-public/</url>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.destroystokyo.paper</groupId>
|
||||||
|
<artifactId>paper-api</artifactId>
|
||||||
|
<version>1.16.1-R0.1-SNAPSHOT</version>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
</profile>
|
||||||
|
|
||||||
<profile>
|
<profile>
|
||||||
<id>static_build_number</id>
|
<id>static_build_number</id>
|
||||||
<activation>
|
<activation>
|
||||||
|
@ -42,7 +42,6 @@ public class AdminInventory implements Inventory {
|
|||||||
maxStackSize = i;
|
maxStackSize = i;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return "Admin inventory";
|
return "Admin inventory";
|
||||||
}
|
}
|
||||||
@ -211,7 +210,6 @@ public class AdminInventory implements Inventory {
|
|||||||
return new ArrayList<>();
|
return new ArrayList<>();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getTitle() {
|
public String getTitle() {
|
||||||
return "Admin inventory";
|
return "Admin inventory";
|
||||||
}
|
}
|
||||||
@ -226,6 +224,10 @@ public class AdminInventory implements Inventory {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public InventoryHolder getHolder(boolean useSnapshot) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ListIterator<ItemStack> iterator() {
|
public ListIterator<ItemStack> iterator() {
|
||||||
return Arrays.asList(content).listIterator();
|
return Arrays.asList(content).listIterator();
|
||||||
|
@ -73,7 +73,7 @@ public class PlayerInteract implements Listener {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isSign(block) || player.getInventory().getItemInMainHand().getType() == Material.SIGN) // Blocking accidental sign edition
|
if (!isSign(block) || player.getInventory().getItemInMainHand().getType().name().contains("SIGN")) // Blocking accidental sign edition
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Sign sign = (Sign) block.getState();
|
Sign sign = (Sign) block.getState();
|
||||||
|
Loading…
Reference in New Issue
Block a user