diff options
Diffstat (limited to 'src/main/kotlin/io/dico/parcels2/Parcel.kt')
-rw-r--r-- | src/main/kotlin/io/dico/parcels2/Parcel.kt | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/main/kotlin/io/dico/parcels2/Parcel.kt b/src/main/kotlin/io/dico/parcels2/Parcel.kt index bdf4ff9..2c56627 100644 --- a/src/main/kotlin/io/dico/parcels2/Parcel.kt +++ b/src/main/kotlin/io/dico/parcels2/Parcel.kt @@ -45,9 +45,6 @@ interface ParcelData : AddedData { fun canBuild(player: OfflinePlayer, checkAdmin: Boolean = true, checkGlobal: Boolean = true): Boolean - var allowInteractInputs: Boolean - var allowInteractInventory: Boolean - fun isOwner(uuid: UUID): Boolean { return owner?.uuid == uuid } @@ -66,8 +63,6 @@ class ParcelDataHolder(addedMap: MutableAddedDataMap = mutableMapOf()) || owner.let { it != null && it.matches(player, allowNameMatch = false) } || (checkAdmin && player is Player && player.hasBuildAnywhere) - override var allowInteractInputs = true - override var allowInteractInventory = true override var interactableConfig: InteractableConfiguration = BitmaskInteractableConfiguration() } |