mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-10-05 01:57:28 +02:00
Updated /god to remove fire.
This commit is contained in:
parent
50870a9b32
commit
0821a08df2
@ -59,6 +59,7 @@ public static void god(CommandContext args, WorldGuardPlugin plugin,
|
|||||||
|
|
||||||
for (Player player : targets) {
|
for (Player player : targets) {
|
||||||
config.enableGodMode(player);
|
config.enableGodMode(player);
|
||||||
|
player.setFireTicks(0);
|
||||||
|
|
||||||
// Tell the user
|
// Tell the user
|
||||||
if (player.equals(sender)) {
|
if (player.equals(sender)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user