geforkt von SteamWar/BungeeCore
Fixed Badlion not Disabling Mods
Dieser Commit ist enthalten in:
Ursprung
131134b8b8
Commit
50770242a7
@ -3,6 +3,7 @@ package de.steamwar.bungeecore.listeners.mods;
|
||||
import de.steamwar.bungeecore.listeners.BasicListener;
|
||||
import net.md_5.bungee.api.event.PostLoginEvent;
|
||||
import net.md_5.bungee.event.EventHandler;
|
||||
import net.md_5.bungee.protocol.packet.PluginMessage;
|
||||
|
||||
public class Badlion extends BasicListener {
|
||||
|
||||
@ -22,17 +23,17 @@ public class Badlion extends BasicListener {
|
||||
"ToggleSprint":{"disabled":true}
|
||||
}
|
||||
*/
|
||||
event.getPlayer().sendData("badlion:mods", ("{" +
|
||||
"\"Clear Glass\":{\"disabled\":true}," +
|
||||
"\"ClearWater\":{\"disabled\":true}," +
|
||||
"\"FOV Changer\":{\"disabled\":true}," +
|
||||
"\"Hitboxes\":{\"disabled\":true}," +
|
||||
"\"MiniMap\":{\"disabled\":true}," +
|
||||
"\"MLG Cobweb\":{\"disabled\":true}," +
|
||||
"\"Replay\":{\"disabled\":true}," +
|
||||
"\"Schematica\":{\"disabled\":true}," +
|
||||
"\"ToggleSneak\":{\"disabled\":true}," +
|
||||
"\"ToggleSprint\":{\"disabled\":true}" +
|
||||
"}").getBytes());
|
||||
event.getPlayer().unsafe().sendPacket(new PluginMessage("badlion:mods", ("{" +
|
||||
"\"Clear Glass\":{\"disabled\":true}," +
|
||||
"\"ClearWater\":{\"disabled\":true}," +
|
||||
"\"FOV Changer\":{\"disabled\":true}," +
|
||||
"\"Hitboxes\":{\"disabled\":true}," +
|
||||
"\"MiniMap\":{\"disabled\":true}," +
|
||||
"\"MLG Cobweb\":{\"disabled\":true}," +
|
||||
"\"Replay\":{\"disabled\":true}," +
|
||||
"\"Schematica\":{\"disabled\":true}," +
|
||||
"\"ToggleSneak\":{\"disabled\":true}," +
|
||||
"\"ToggleSprint\":{\"disabled\":true}" +
|
||||
"}").getBytes(), false));
|
||||
}
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren