parent
f4680c4051
commit
fbf4c7c45b
2
pom.xml
2
pom.xml
|
|
@ -140,7 +140,7 @@
|
|||
<dependency>
|
||||
<groupId>org.spigotmc</groupId>
|
||||
<artifactId>spigot-api</artifactId>
|
||||
<version>1.16.1-R0.1-SNAPSHOT</version>
|
||||
<version>1.17-R0.1-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<!-- Worldguard dependency -->
|
||||
|
|
|
|||
|
|
@ -958,6 +958,7 @@ public class EntityEventHandler implements Listener
|
|||
|
||||
//if the damaged entity is a claimed item frame or armor stand, the damager needs to be a player with build trust in the claim
|
||||
if (subEvent.getEntityType() == EntityType.ITEM_FRAME
|
||||
|| subEvent.getEntityType() == EntityType.GLOW_ITEM_FRAME
|
||||
|| subEvent.getEntityType() == EntityType.ARMOR_STAND
|
||||
|| subEvent.getEntityType() == EntityType.VILLAGER
|
||||
|| subEvent.getEntityType() == EntityType.ENDER_CRYSTAL)
|
||||
|
|
|
|||
|
|
@ -1969,6 +1969,7 @@ class PlayerEventHandler implements Listener
|
|||
materialInHand == Material.TNT_MINECART ||
|
||||
materialInHand == Material.ARMOR_STAND ||
|
||||
materialInHand == Material.ITEM_FRAME ||
|
||||
materialInHand == Material.GLOW_ITEM_FRAME ||
|
||||
spawn_eggs.contains(materialInHand) ||
|
||||
materialInHand == Material.INFESTED_STONE ||
|
||||
materialInHand == Material.INFESTED_COBBLESTONE ||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ softdepend: [Vault, Multiverse-Core, My_Worlds, MystCraft, Transporter, TheUnder
|
|||
dev-url: https://dev.bukkit.org/projects/grief-prevention
|
||||
loadbefore: [TheUnderground]
|
||||
version: '${git.commit.id.describe}'
|
||||
api-version: '1.16'
|
||||
api-version: '1.17'
|
||||
commands:
|
||||
abandonclaim:
|
||||
description: Deletes a claim.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user