mirror of
https://gitlab.com/SamB440/rpgregions-2.git
synced 2025-12-26 18:29:16 +00:00
Move player to editor when adding new region element
This commit is contained in:
@@ -81,6 +81,7 @@ public class AddRegionElementGUI extends RPGRegionsGUI {
|
||||
region.getRequirements().add((RegionRequirement) newInstance);
|
||||
}
|
||||
|
||||
new EditRegionElementGUI(plugin, player, region, registry).open();
|
||||
player.playSound(player.getLocation(), Sound.BLOCK_ENCHANTMENT_TABLE_USE, 1f, 1f);
|
||||
});
|
||||
items.add(guiItem);
|
||||
|
||||
Reference in New Issue
Block a user