Dieser Commit ist enthalten in:
Ursprung
da60ab92ee
Commit
4fc7f9e1e9
@ -151,7 +151,7 @@ public class Core extends JavaPlugin{
|
||||
}
|
||||
|
||||
private static void setSqlConfig() {
|
||||
sqlConfig = new File(Core.getInstance().getDataFolder(), "MySQL.yml");
|
||||
sqlConfig = new File(System.getProperty("user.home"), "MySQL.yml");
|
||||
standalone = !sqlConfig.exists();
|
||||
}
|
||||
}
|
||||
|
@ -59,12 +59,12 @@ public class TechHider {
|
||||
techhiders.put(blockActionPacket, this::blockActionHider);
|
||||
techhiders.put(blockChangePacket, this::blockChangeHider);
|
||||
techhiders.put(tileEntityDataPacket, this::tileEntityDataHider);
|
||||
techhiders.put(multiBlockChangePacket,ProtocolWrapper.impl.multiBlockChangeGenerator(obfuscationTarget, obfuscate, bypass));
|
||||
techhiders.put(multiBlockChangePacket,ProtocolWrapper.impl.multiBlockChangeGenerator(this.obfuscationTarget, obfuscate, bypass));
|
||||
techhiders.put(ChunkHider.impl.mapChunkPacket(), ChunkHider.impl.chunkHiderGenerator(bypass, BlockIds.impl.materialToId(obfuscationTarget), obfuscate.stream().flatMap(m -> BlockIds.impl.materialToAllIds(m).stream()).collect(Collectors.toSet()), hiddenBlockEntities));
|
||||
|
||||
if(Core.getVersion() > 12 && Core.getVersion() < 19) {
|
||||
Class<?> blockBreakClass = Reflection.getClass("{nms.network.protocol.game}.PacketPlayOutBlockBreak");
|
||||
techhiders.put(blockBreakClass, ProtocolWrapper.impl.blockBreakHiderGenerator(blockBreakClass, obfuscationTarget, obfuscate, bypass));
|
||||
techhiders.put(blockBreakClass, ProtocolWrapper.impl.blockBreakHiderGenerator(blockBreakClass, this.obfuscationTarget, obfuscate, bypass));
|
||||
}
|
||||
|
||||
if(Core.getVersion() > 8){
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren