Dieser Commit ist enthalten in:
Ursprung
75edfc8375
Commit
335e2cc437
@ -108,6 +108,12 @@ public class TraceManager implements Listener {
|
||||
return new ArrayList<>(traces);
|
||||
}
|
||||
|
||||
/** Toggles trace show on for player
|
||||
*
|
||||
* @param player
|
||||
* @param viewFlags
|
||||
* @param bundleFilter
|
||||
*/
|
||||
public void show(Player player, ViewFlag[] viewFlags, BundleFilter bundleFilter) {
|
||||
viewFlagMap.put(player, viewFlags);
|
||||
bundleFilterMap.put(player, bundleFilter);
|
||||
@ -116,6 +122,10 @@ public class TraceManager implements Listener {
|
||||
trace.render(player, viewFlags, bundleFilter);
|
||||
}
|
||||
|
||||
/** Toggles trace show of for player
|
||||
*
|
||||
* @param player
|
||||
*/
|
||||
public void hide(Player player){
|
||||
for(Trace trace: traces)
|
||||
trace.hide(player);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren