Merge remote-tracking branch 'origin/noclip' into noclip
Dieser Commit ist enthalten in:
Commit
9c5fcc087c
@ -214,13 +214,11 @@ LOADTIMER_SUMARY_TIMES_LAST = §7\\/
|
|||||||
LOADTIMER_SUMARY_STATS_HEAD=§7Kanonen-Stats§8:
|
LOADTIMER_SUMARY_STATS_HEAD=§7Kanonen-Stats§8:
|
||||||
LOADTIMER_SUMARY_STATS_TNT=§7TNT: §e{0}
|
LOADTIMER_SUMARY_STATS_TNT=§7TNT: §e{0}
|
||||||
LOADTIMER_SUMARY_STATS_FREQ=§7Belade Frequenz: §e{0}/m§8, §7Schuss Frequenz: §e{1}/m
|
LOADTIMER_SUMARY_STATS_FREQ=§7Belade Frequenz: §e{0}/m§8, §7Schuss Frequenz: §e{1}/m
|
||||||
|
|
||||||
|
|
||||||
# Other
|
# Other
|
||||||
OTHER_ITEMS_TELEPORT_GUI-NAME=Teleportieren
|
OTHER_ITEMS_TELEPORT_GUI-NAME=Teleportieren
|
||||||
OTHER_ITEMS_TELEPORT_PLAYER-OFFLINE=§cDer Spieler ist Offline
|
OTHER_ITEMS_TELEPORT_PLAYER-OFFLINE=§cDer Spieler ist Offline
|
||||||
OTHER_SLOT_INVALID_SLOT=§cInvalid Slot
|
OTHER_SLOT_INVALID_SLOT=§cInvalid Slot
|
||||||
|
OTHER_NOCLIP_SLOT_INFO=§7Mit /slot kannst du den ausgewählten Slot ändern und einen anderen Block in den Slot nehmen.
|
||||||
# Material
|
# Material
|
||||||
MATERIAL_BLAST-RESISTANCE=§8- §eBlast Resistance§8: §7{0}
|
MATERIAL_BLAST-RESISTANCE=§8- §eBlast Resistance§8: §7{0}
|
||||||
MATERIAL_TNT_BREAKABLE=§8- §eZerstörbar durch TNT
|
MATERIAL_TNT_BREAKABLE=§8- §eZerstörbar durch TNT
|
||||||
|
@ -100,6 +100,7 @@ public class NoClipCommand extends SWCommand implements Listener {
|
|||||||
gm1packet.getIntegers().write(0, 3);
|
gm1packet.getIntegers().write(0, 3);
|
||||||
gm1packet.getFloat().write(0, 1F);
|
gm1packet.getFloat().write(0, 1F);
|
||||||
NOCLIPS.add(player);
|
NOCLIPS.add(player);
|
||||||
|
BauSystem.MESSAGE.send("OTHER_NOCLIP_SLOT_INFO", player);
|
||||||
try {
|
try {
|
||||||
ProtocolLibrary.getProtocolManager().sendServerPacket(player, gm1packet);
|
ProtocolLibrary.getProtocolManager().sendServerPacket(player, gm1packet);
|
||||||
ProtocolLibrary.getProtocolManager().sendServerPacket(player, gm3packet);
|
ProtocolLibrary.getProtocolManager().sendServerPacket(player, gm3packet);
|
||||||
|
@ -40,11 +40,6 @@ public class SlotCommand extends SWCommand {
|
|||||||
super("slot", "s");
|
super("slot", "s");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Register(help = true)
|
|
||||||
public void genericHelp(Player player, String... args) {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@Register
|
@Register
|
||||||
public void slotCommand(Player player, Integer slot) {
|
public void slotCommand(Player player, Integer slot) {
|
||||||
if (slot < 1 || slot > 9) {
|
if (slot < 1 || slot > 9) {
|
||||||
@ -59,10 +54,9 @@ public class SlotCommand extends SWCommand {
|
|||||||
Block block = player.getTargetBlockExact(6);
|
Block block = player.getTargetBlockExact(6);
|
||||||
ItemStack itemStack;
|
ItemStack itemStack;
|
||||||
if (block == null) {
|
if (block == null) {
|
||||||
itemStack = new ItemStack(Material.AIR);
|
return;
|
||||||
} else {
|
|
||||||
itemStack = new ItemStack(block.getType());
|
|
||||||
}
|
}
|
||||||
|
itemStack = new ItemStack(block.getType());
|
||||||
SWUtils.giveItemToPlayer(player, itemStack);
|
SWUtils.giveItemToPlayer(player, itemStack);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren