mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-30 21:17:36 +01:00
Merge branch 'master' into feature/region-api-update
This commit is contained in:
commit
88e7327af6
@ -329,7 +329,7 @@ private void loadConfiguration() {
|
||||
}
|
||||
blockPotionsAlways = getBoolean("gameplay.block-potions-overly-reliably", false);
|
||||
|
||||
simulateSponge = getBoolean("simulation.sponge.enable", true);
|
||||
simulateSponge = getBoolean("simulation.sponge.enable", false);
|
||||
spongeRadius = Math.max(1, getInt("simulation.sponge.radius", 3)) - 1;
|
||||
redstoneSponges = getBoolean("simulation.sponge.redstone", false);
|
||||
|
||||
|
@ -150,7 +150,7 @@ public void heal(CommandContext args,CommandSender sender) throws CommandExcepti
|
||||
}
|
||||
|
||||
for (Player player : targets) {
|
||||
player.setHealth(20);
|
||||
player.setHealth(player.getMaxHealth());
|
||||
player.setFoodLevel(20);
|
||||
|
||||
// Tell the user
|
||||
|
Loading…
Reference in New Issue
Block a user