Create PlayerExtensions.kt

This commit is contained in:
bluefireoly
2020-06-27 00:10:23 +02:00
parent 186c9dcb1e
commit c87e7d3623

View File

@@ -0,0 +1,6 @@
package net.axay.kspigot.extensions.entities
import org.bukkit.Material
import org.bukkit.entity.Player
val Player.isInWater: Boolean get() = this.location.block.type == Material.WATER