mirror of
https://github.com/SimplexDevelopment/FreedomNetworkSuite.git
synced 2024-11-13 04:33:33 +00:00
Expose MutableAudienceForwarder in SimpleTransactionLogger
This will add the ability for us to add audiences to the MutableAudienceForwarder inside of SimpleTransactionLogger, which will make TransactionSpy much easier.
This commit is contained in:
parent
b98b0870b1
commit
95df78da6f
@ -4,7 +4,6 @@ import me.totalfreedom.audience.MutableAudienceForwarder;
|
||||
import me.totalfreedom.economy.*;
|
||||
import me.totalfreedom.utils.FreedomLogger;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import org.bukkit.Bukkit;
|
||||
|
||||
public class SimpleTransactionLogger implements TransactionLogger
|
||||
{
|
||||
@ -40,4 +39,9 @@ public class SimpleTransactionLogger implements TransactionLogger
|
||||
|
||||
audience.sendMessage(message);
|
||||
}
|
||||
|
||||
public MutableAudienceForwarder getAudienceForwarder()
|
||||
{
|
||||
return audience;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user