mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-21 20:56:45 +01:00
Fix keep-inventory flag & adjust disallowed-blocks translation
This commit is contained in:
parent
59599261ff
commit
de597391dc
@ -1676,6 +1676,7 @@ public class PlayerEventListener extends PlotListener implements Listener {
|
||||
if (plot.getFlag(KeepInventoryFlag.class)) {
|
||||
if (plot.getFlag(KeepInventoryFlag.class)) {
|
||||
plot.debug(event.getEntity().getName() + " kept their inventory because of keep-inventory = true");
|
||||
event.getDrops().clear();
|
||||
event.setKeepInventory(true);
|
||||
}
|
||||
}
|
||||
|
@ -197,7 +197,7 @@
|
||||
"commandconfig.command_syntax_extended": "<prefix><gold>Usage: </gold><gray><value1> <value2></gray>",
|
||||
"commandconfig.flag_tutorial_usage": "<prefix><gold>Have an admin set the flag: </gold><gray><flag></gray>",
|
||||
"invalid.component_illegal_block": "<prefix><red>You are not allowed to generate a component containing the block <gray><value></gray></red>",
|
||||
"invalid.not_valid_block": "<prefix><red>That's not a valid block: </red><gray><value></gray>",
|
||||
"invalid.not_valid_block": "<prefix><red><value></red>",
|
||||
"invalid.not_allowed_block": "<prefix><red>That block is not allowed: <gray><value></gray></red>",
|
||||
"invalid.not_valid_number": "<prefix><red>That's not a valid number within the range: </red><gray><value></gray>",
|
||||
"invalid.not_valid_plot_id": "<prefix><red>That's not a valid plot ID.</red>",
|
||||
|
Loading…
Reference in New Issue
Block a user