forked from SteamWar/SteamWar
Add explanation for 'Force Delete'
This commit is contained in:
+2
-2
@@ -158,7 +158,7 @@ public class DynamicRegionEditor implements SWPlayer.Component, Listener {
|
|||||||
List<SWListInv.SWListEntry<Type>> list = new ArrayList<>();
|
List<SWListInv.SWListEntry<Type>> list = new ArrayList<>();
|
||||||
list.add(new SWListInv.SWListEntry<>(new SWItem(Material.STRUCTURE_VOID, "§6Deselect"), new Empty()));
|
list.add(new SWListInv.SWListEntry<>(new SWItem(Material.STRUCTURE_VOID, "§6Deselect"), new Empty()));
|
||||||
list.add(new SWListInv.SWListEntry<>(new SWItem(Material.BARRIER, "§cDelete"), new Delete(false)));
|
list.add(new SWListInv.SWListEntry<>(new SWItem(Material.BARRIER, "§cDelete"), new Delete(false)));
|
||||||
list.add(new SWListInv.SWListEntry<>(new SWItem(Material.COMMAND_BLOCK, "§4Force Delete"), new Delete(true)));
|
list.add(new SWListInv.SWListEntry<>(new SWItem(Material.COMMAND_BLOCK, "§4§lForce Delete", List.of("§7Force deletes enables §cdeleting", "§7of §6Special§7 regions without", "§7confirmation§8."), false, null), new Delete(true)));
|
||||||
list.add(new SWListInv.SWListEntry<>(new SWItem(Material.LODESTONE, "§fBig Spawn"), new Spawn()));
|
list.add(new SWListInv.SWListEntry<>(new SWItem(Material.LODESTONE, "§fBig Spawn"), new Spawn()));
|
||||||
|
|
||||||
DynamicRegionSystem.constructorDataMap.values()
|
DynamicRegionSystem.constructorDataMap.values()
|
||||||
@@ -281,7 +281,7 @@ public class DynamicRegionEditor implements SWPlayer.Component, Listener {
|
|||||||
@Override
|
@Override
|
||||||
public String title() {
|
public String title() {
|
||||||
if (force) {
|
if (force) {
|
||||||
return "§4Force Delete";
|
return "§4§lForce Delete";
|
||||||
} else {
|
} else {
|
||||||
return "§cDelete";
|
return "§cDelete";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user