forked from Minecraft/QoL
Updated docs and changed spec dynmap hide perm to SafeSpectate.spectate
parent
584b069c33
commit
5c15eec17c
|
@ -7,7 +7,7 @@ QoL v1.4
|
|||
|
||||
Additions
|
||||
---------
|
||||
* `Death Mute Command`_ - ``/dm <name>`` mutes death messages from a player until a sever restart.
|
||||
* `Death Mute Command`_ - ``/deathmute <name>`` mutes death messages from a player until a sever restart.
|
||||
* `24 Karat Trophy Command`_ ``/karattrophy <name>`` awards the player the 24 Karat Trophy advancement.
|
||||
* `Spec-Dynmap Message`_ - A message is now displayed when the user is hidden on Dynmap after using /spec.
|
||||
|
||||
|
|
|
@ -39,6 +39,6 @@ Alias ``/names`` and ``/name``
|
|||
|
||||
``/karattrophy <name>`` awards the player the 24 Karat Trophy Advancement.
|
||||
|
||||
``/dm <name>`` mutes death messages from a player until a sever restart.
|
||||
``/deathmute <name>`` mutes death messages from a player until a sever restart.
|
||||
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ public class CommandPreprocessListener implements Listener {
|
|||
DynmapAPI dynmap = (DynmapAPI) plugin.getDynmap();
|
||||
|
||||
// Spec dynmap hide
|
||||
if (base.equals("spec") && sender.hasPermission("safespectate.spectate") && dynmap != null) {
|
||||
if (base.equals("spec") && sender.hasPermission("SafeSpectate.spectate") && dynmap != null) {
|
||||
String message;
|
||||
boolean visibleStatus;
|
||||
if (sender.getGameMode() != GameMode.SPECTATOR){
|
||||
|
|
Loading…
Reference in New Issue