Updated docs and changed spec dynmap hide perm to SafeSpectate.spectate

master
Joey Hines 2018-10-15 21:32:13 -05:00
parent 584b069c33
commit 5c15eec17c
3 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ QoL v1.4
Additions 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. * `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. * `Spec-Dynmap Message`_ - A message is now displayed when the user is hidden on Dynmap after using /spec.

View File

@ -39,6 +39,6 @@ Alias ``/names`` and ``/name``
``/karattrophy <name>`` awards the player the 24 Karat Trophy Advancement. ``/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.

View File

@ -52,7 +52,7 @@ public class CommandPreprocessListener implements Listener {
DynmapAPI dynmap = (DynmapAPI) plugin.getDynmap(); DynmapAPI dynmap = (DynmapAPI) plugin.getDynmap();
// Spec dynmap hide // 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; String message;
boolean visibleStatus; boolean visibleStatus;
if (sender.getGameMode() != GameMode.SPECTATOR){ if (sender.getGameMode() != GameMode.SPECTATOR){