1
0
Fork 0

Remove unnecessary getName of player who placed block

main
Mari 4 years ago
parent 7fe4e3ce66
commit 46e2f8646b
  1. 1
      src/main/kotlin/net/deliciousreya/minecraftportal/MinecraftPortalPlugin.kt

@ -126,7 +126,6 @@ class MinecraftPortalPlugin() : JavaPlugin(), Listener
@EventHandler
fun onBlockPlaced(e: BlockPlaceEvent) {
e.player.name
if (e.block.type in PortalFrame.State.INACTIVE.allValidBlocks) {
val newPortal = findPortalFrameConnectedTo(
e.block,

Loading…
Cancel
Save