mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-12-23 01:27:33 +01:00
Fix wither arrow shield typo
This commit is contained in:
parent
12b60fcdf2
commit
03e757d411
12
main/pom.xml
12
main/pom.xml
@ -22,7 +22,7 @@
|
||||
<repository>
|
||||
<id>spigot-repo</id>
|
||||
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
||||
</repository>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>jitpack.io</id>
|
||||
<url>https://jitpack.io</url>
|
||||
@ -38,6 +38,10 @@
|
||||
<id>sk89q-repo</id>
|
||||
<url>https://maven.enginehub.org/repo/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>dmulloy2-repo</id>
|
||||
<url>https://repo.dmulloy2.net/repository/public/</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<dependencies>
|
||||
@ -48,6 +52,12 @@
|
||||
<type>jar</type>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.comphenix.protocol</groupId>
|
||||
<artifactId>ProtocolLib</artifactId>
|
||||
<version>4.7.0</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.powermock</groupId>
|
||||
<artifactId>powermock-module-junit4</artifactId>
|
||||
|
@ -1,21 +1,19 @@
|
||||
name: Citizens
|
||||
authors: [fullwall]
|
||||
softdepend: [Vault, PlaceholderAPI, WorldGuard]
|
||||
softdepend: [Vault, PlaceholderAPI, WorldGuard, ProtocolLib]
|
||||
version: ${project.version} (build ${BUILD_NUMBER})
|
||||
main: net.citizensnpcs.Citizens
|
||||
website: http://www.citizensnpcs.co
|
||||
website: https://www.citizensnpcs.co
|
||||
api-version: "1.13"
|
||||
commands:
|
||||
traitc:
|
||||
aliases: [trc]
|
||||
description: Configures traits
|
||||
permission: citizens.trait.help
|
||||
trait:
|
||||
aliases: [tr]
|
||||
trait:
|
||||
description: Trait commands
|
||||
permission: citizens.trait.help
|
||||
citizens:
|
||||
aliases: [citizens2]
|
||||
citizens:
|
||||
description: Administration commands
|
||||
permission: citizens.citizens.help
|
||||
npc:
|
||||
|
@ -66,8 +66,8 @@ public class WitherController extends MobEntityController {
|
||||
|
||||
@Override
|
||||
public boolean df() {
|
||||
return npc == null || !npc.data().has("wither-arrow-damageable") ? super.df()
|
||||
: npc.data().get("wither-arrow-damageable");
|
||||
return npc == null || !npc.data().has("wither-arrow-shield") ? super.df()
|
||||
: npc.data().get("wither-arrow-shield");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -66,8 +66,8 @@ public class WitherController extends MobEntityController {
|
||||
|
||||
@Override
|
||||
public boolean di() {
|
||||
return npc == null || !npc.data().has("wither-arrow-damageable") ? super.di()
|
||||
: npc.data().get("wither-arrow-damageable");
|
||||
return npc == null || !npc.data().has("wither-arrow-shield") ? super.di()
|
||||
: npc.data().get("wither-arrow-shield");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -67,8 +67,8 @@ public class WitherController extends MobEntityController {
|
||||
|
||||
@Override
|
||||
public boolean dn() {
|
||||
return npc == null || !npc.data().has("wither-arrow-damageable") ? super.dn()
|
||||
: npc.data().get("wither-arrow-damageable");
|
||||
return npc == null || !npc.data().has("wither-arrow-shield") ? super.dn()
|
||||
: npc.data().get("wither-arrow-shield");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -75,8 +75,8 @@ public class WitherController extends MobEntityController {
|
||||
|
||||
@Override
|
||||
public boolean dA() {
|
||||
return npc == null || !npc.data().has("wither-arrow-damageable") ? super.dA()
|
||||
: npc.data().get("wither-arrow-damageable");
|
||||
return npc == null || !npc.data().has("wither-arrow-shield") ? super.dA()
|
||||
: npc.data().get("wither-arrow-shield");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -68,8 +68,8 @@ public class WitherController extends MobEntityController {
|
||||
|
||||
@Override
|
||||
public boolean dW() {
|
||||
return npc == null || !npc.data().has("wither-arrow-damageable") ? super.dW()
|
||||
: npc.data().get("wither-arrow-damageable");
|
||||
return npc == null || !npc.data().has("wither-arrow-shield") ? super.dW()
|
||||
: npc.data().get("wither-arrow-shield");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -131,8 +131,8 @@ public class WitherController extends MobEntityController {
|
||||
|
||||
@Override
|
||||
public boolean J_() {
|
||||
return npc == null || !npc.data().has("wither-arrow-damageable") ? super.J_()
|
||||
: npc.data().get("wither-arrow-damageable");
|
||||
return npc == null || !npc.data().has("wither-arrow-shield") ? super.J_()
|
||||
: npc.data().get("wither-arrow-shield");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -157,8 +157,8 @@ public class WitherController extends MobEntityController {
|
||||
|
||||
@Override
|
||||
public boolean S_() {
|
||||
return npc == null || !npc.data().has("wither-arrow-damageable") ? super.S_()
|
||||
: npc.data().get("wither-arrow-damageable");
|
||||
return npc == null || !npc.data().has("wither-arrow-shield") ? super.S_()
|
||||
: npc.data().get("wither-arrow-shield");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -134,8 +134,8 @@ public class WitherController extends MobEntityController {
|
||||
|
||||
@Override
|
||||
public boolean isPowered() {
|
||||
return npc == null || !npc.data().has("wither-arrow-damageable") ? super.isPowered()
|
||||
: npc.data().get("wither-arrow-damageable");
|
||||
return npc == null || !npc.data().has("wither-arrow-shield") ? super.isPowered()
|
||||
: npc.data().get("wither-arrow-shield");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -136,8 +136,8 @@ public class WitherController extends MobEntityController {
|
||||
|
||||
@Override
|
||||
public boolean isPowered() {
|
||||
return npc == null || !npc.data().has("wither-arrow-damageable") ? super.isPowered()
|
||||
: npc.data().get("wither-arrow-damageable");
|
||||
return npc == null || !npc.data().has("wither-arrow-shield") ? super.isPowered()
|
||||
: npc.data().get("wither-arrow-shield");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -128,8 +128,8 @@ public class WitherController extends MobEntityController {
|
||||
|
||||
@Override
|
||||
public boolean isPowered() {
|
||||
return npc == null || !npc.data().has("wither-arrow-damageable") ? super.isPowered()
|
||||
: npc.data().get("wither-arrow-damageable");
|
||||
return npc == null || !npc.data().has("wither-arrow-shield") ? super.isPowered()
|
||||
: npc.data().get("wither-arrow-shield");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -64,8 +64,8 @@ public class WitherController extends MobEntityController {
|
||||
|
||||
@Override
|
||||
public boolean cm() {
|
||||
return npc == null || !npc.data().has("wither-arrow-damageable") ? super.cm()
|
||||
: npc.data().<Boolean> get("wither-arrow-damageable");
|
||||
return npc == null || !npc.data().has("wither-arrow-shield") ? super.cm()
|
||||
: npc.data().<Boolean> get("wither-arrow-shield");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user