fix: 10 bug fixes — healing dead players, kick bypass, gate race, swimming ghost, regression config, dead code cleanup, gate zone detection
This commit is contained in:
parent
b666f1b0fa
commit
d2b174b94c
35 changed files with 587 additions and 773 deletions
|
|
@ -39,8 +39,8 @@ public class ItemMedkit implements BaseItem {
|
|||
meta.setDisplayName("§a" + getType().getDisplayName());
|
||||
meta.setLore(Arrays.asList(
|
||||
"§7" + getType().getDescription(),
|
||||
"§eCharges: §f" + charges + "/" + getType().getDefaultCharges(),
|
||||
"§7Right-click to heal"
|
||||
"§eЗаряды: §f" + charges + "/" + getType().getDefaultCharges(),
|
||||
"§7ПКМ — лечиться"
|
||||
));
|
||||
|
||||
PersistentDataContainer pdc = meta.getPersistentDataContainer();
|
||||
|
|
@ -60,7 +60,7 @@ public class ItemMedkit implements BaseItem {
|
|||
@Override
|
||||
public void onUse(Player player) {
|
||||
if (charges > 0) {
|
||||
player.sendMessage("§aYou start healing...");
|
||||
player.sendMessage(mdbd.getInstance().getConfigManager().getMessages().get("survivor.medkit.start"));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue