Skip to content

Commit

Permalink
Fix open Ticket.
Browse files Browse the repository at this point in the history
Fix for the open ticket. Because off the casing people getting errors.
Also could use a equalsIgnoreCase()

Ticket minecrafter#71
  • Loading branch information
Jerimu authored Feb 24, 2020
1 parent 934e454 commit 67d0c75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public void onPing(final ProxyPingEvent event) {

@EventHandler
public void onPluginMessage(final PluginMessageEvent event) {
if ((event.getTag().equals("legacy:RedisBungee") || event.getTag().equals("RedisBungee")) && event.getSender() instanceof Server) {
if ((event.getTag().equals("legacy:redisbungee") || event.getTag().equals("RedisBungee")) && event.getSender() instanceof Server) {
final String currentChannel = event.getTag();
final byte[] data = Arrays.copyOf(event.getData(), event.getData().length);
plugin.getProxy().getScheduler().runAsync(plugin, new Runnable() {
Expand Down

0 comments on commit 67d0c75

Please sign in to comment.