mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Add a couple of permissions
This commit is contained in:
parent
7a0dc39eb7
commit
99ea64fa4e
@ -426,6 +426,12 @@ public class AsyncBlock implements Block {
|
|||||||
throw new UnsupportedOperationException("FAWE does not support this yet");
|
throw new UnsupportedOperationException("FAWE does not support this yet");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Nonnull
|
||||||
|
@Override
|
||||||
|
public float getDestroySpeed(@Nonnull ItemStack itemStack, boolean considerEnchants) {
|
||||||
|
throw new UnsupportedOperationException("FAWE does not support this yet");
|
||||||
|
}
|
||||||
|
|
||||||
@Nonnull
|
@Nonnull
|
||||||
@Override
|
@Override
|
||||||
public BoundingBox getBoundingBox() {
|
public BoundingBox getBoundingBox() {
|
||||||
|
@ -178,7 +178,7 @@ public class WorldEditCommands {
|
|||||||
name = "cui",
|
name = "cui",
|
||||||
desc = "Complete CUI handshake (internal usage)"
|
desc = "Complete CUI handshake (internal usage)"
|
||||||
)
|
)
|
||||||
@CommandPermissions()
|
@CommandPermissions(value = "worldedit.cui", queued = false)
|
||||||
public void cui(Player player, LocalSession session) {
|
public void cui(Player player, LocalSession session) {
|
||||||
session.setCUISupport(true);
|
session.setCUISupport(true);
|
||||||
session.dispatchCUISetup(player);
|
session.dispatchCUISetup(player);
|
||||||
@ -188,6 +188,7 @@ public class WorldEditCommands {
|
|||||||
name = "tz",
|
name = "tz",
|
||||||
desc = "Set your timezone for snapshots"
|
desc = "Set your timezone for snapshots"
|
||||||
)
|
)
|
||||||
|
@CommandPermissions(value = "worldedit.timezone", queued = false)
|
||||||
public void tz(Actor actor, LocalSession session,
|
public void tz(Actor actor, LocalSession session,
|
||||||
@Arg(desc = "The timezone to set")
|
@Arg(desc = "The timezone to set")
|
||||||
String timezone) {
|
String timezone) {
|
||||||
|
Loading…
Reference in New Issue
Block a user