Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
c5fcfdfb9c
Commit
d90782c4b3
@ -527,6 +527,8 @@ SIMULATOR_WAND_LORE_2 = §eSneaking §8- §7Free movement
|
||||
SIMULATOR_WAND_LORE_3 = §eLeft click §8- §7Start the simulation
|
||||
SIMULATOR_WAND_LORE_4 = §eRight click in air §8- §7Opens the gui
|
||||
|
||||
SIMULATOR_REGION_FREEZED = §cSimulator cannot be used inside freezed regions
|
||||
|
||||
## Other
|
||||
SIMULATOR_PLUS_ONE = §7+1
|
||||
SIMULATOR_PLUS_PIXEL_SHIFT = §eShift §7Click for §e+0,0625
|
||||
|
@ -528,6 +528,8 @@ SIMULATOR_WAND_LORE_2 = §eSneaken §8- §7Freie Bewegung
|
||||
SIMULATOR_WAND_LORE_3 = §eLinksklick §8- §7Starte die Simulation
|
||||
SIMULATOR_WAND_LORE_4 = §eRechtsklick Luft §8- §7Öffne die GUI
|
||||
|
||||
SIMULATOR_REGION_FREEZED = §cSimulator kann nicht in eingefrorenen Regionen genutzt werden
|
||||
|
||||
## Other
|
||||
SIMULATOR_PLUS_ONE = §7+1
|
||||
SIMULATOR_PLUS_PIXEL_SHIFT = §eShift §7Click für §e+0,0625
|
||||
|
@ -45,7 +45,7 @@ import java.util.logging.Level;
|
||||
public class TestblockCommand extends SWCommand {
|
||||
|
||||
public TestblockCommand() {
|
||||
super("testblock", "tb");
|
||||
super("testblock", "tb", "dummy");
|
||||
}
|
||||
|
||||
@Register(description = "REGION_TB_HELP_RESET")
|
||||
|
@ -25,6 +25,9 @@ import de.steamwar.bausystem.BauSystem;
|
||||
import de.steamwar.bausystem.configplayer.Config;
|
||||
import de.steamwar.bausystem.features.simulator.show.SimulatorEntityShowMode;
|
||||
import de.steamwar.bausystem.features.tracer.record.RecordStateMachine;
|
||||
import de.steamwar.bausystem.region.Region;
|
||||
import de.steamwar.bausystem.region.flags.Flag;
|
||||
import de.steamwar.bausystem.region.flags.flagvalues.FreezeMode;
|
||||
import de.steamwar.bausystem.utils.ItemUtils;
|
||||
import de.steamwar.bausystem.worlddata.SimulatorData;
|
||||
import de.steamwar.inventory.SWAnvilInv;
|
||||
@ -189,6 +192,13 @@ public class TNTSimulator {
|
||||
}
|
||||
|
||||
public void start() {
|
||||
for (TNTSpawn tntSpawn : spawns) {
|
||||
if (Region.getRegion(tntSpawn.position.toLocation(player.getWorld())).get(Flag.FREEZE) == FreezeMode.ACTIVE) {
|
||||
BauSystem.MESSAGE.send("SIMULATOR_REGION_FREEZED", player);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
boolean simulatorAutoTrace = Config.getInstance().get(player).getPlainValueOrDefault("simulatorAutoTrace", false);
|
||||
if (simulatorAutoTrace) {
|
||||
RecordStateMachine.commandSingle();
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren