Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 13:00:06 +01:00
Implement Entity Scoreboard Tags
Dieser Commit ist enthalten in:
Ursprung
cb2749768e
Commit
51263e9718
@ -594,6 +594,21 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity {
|
|||||||
getHandle().portalCooldown = cooldown;
|
getHandle().portalCooldown = cooldown;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Set<String> getScoreboardTags() {
|
||||||
|
return getHandle().P(); // PAIL: getScoreboardTags
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean addScoreboardTag(String tag) {
|
||||||
|
return getHandle().a(tag); // PAIL: addScoreboardTag
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean removeScoreboardTag(String tag) {
|
||||||
|
return getHandle().b(tag); // PAIL: removeScoreboardTag
|
||||||
|
}
|
||||||
|
|
||||||
private static PermissibleBase getPermissibleBase() {
|
private static PermissibleBase getPermissibleBase() {
|
||||||
if (perm == null) {
|
if (perm == null) {
|
||||||
perm = new PermissibleBase(new ServerOperator() {
|
perm = new PermissibleBase(new ServerOperator() {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren