Skip to content

Commit

Permalink
Fix for #317
Browse files Browse the repository at this point in the history
  • Loading branch information
Thorinwasher committed Jan 8, 2024
1 parent 2d771e1 commit 48749e9
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ public void onBlockPlace(BlockPlaceEvent event) {
*/
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
public void onSignChange(SignChangeEvent event) {
if(registry.getPortal(event.getBlock().getLocation()) != null){
return;
}
Player player = event.getPlayer();
String line0 = event.getLine(0);
String line1 = event.getLine(1);
Expand Down

0 comments on commit 48749e9

Please sign in to comment.