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