Merge pull request #258 from DragonSlayer2189/patch-1

Removed "Build" "break-block" and "place-block"
This commit is contained in:
CoolJWB 2020-08-08 00:36:12 +02:00 committed by GitHub
commit 560353e7cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,9 +30,6 @@ public class WorldRestrictions extends FreedomService
private final Map<Flag<?>, Object> flags = new HashMap<Flag<?>, Object>()
{{
put(Flags.BLOCK_PLACE, StateFlag.State.DENY);
put(Flags.BLOCK_BREAK, StateFlag.State.DENY);
put(Flags.BUILD, StateFlag.State.DENY);
put(Flags.PLACE_VEHICLE, StateFlag.State.DENY);
put(Flags.DESTROY_VEHICLE, StateFlag.State.DENY);
put(Flags.ENTITY_ITEM_FRAME_DESTROY, StateFlag.State.DENY);