Update formatting
This commit is contained in:
@@ -14,11 +14,6 @@ import org.bukkit.entity.*
|
||||
import org.bukkit.inventory.EquipmentSlot
|
||||
import org.bukkit.inventory.ItemStack
|
||||
|
||||
/**
|
||||
* Checks if the entity is completely in water.
|
||||
*/
|
||||
val LivingEntity.isInWater: Boolean get() = isFeetInWater && isHeadInWater
|
||||
|
||||
/**
|
||||
* Checks if the entities' head is in water.
|
||||
*/
|
||||
@@ -167,4 +162,4 @@ fun Player.sendToServer(servername: String) {
|
||||
* Adds the given ItemStacks to the player's inventory.
|
||||
* @return The items that did not fit into the player's inventory.
|
||||
*/
|
||||
fun Player.give(vararg itemStacks: ItemStack) = inventory.addItem(*itemStacks)
|
||||
fun Player.give(vararg itemStacks: ItemStack) = inventory.addItem(*itemStacks)
|
||||
|
Reference in New Issue
Block a user