mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-06-28 23:34:43 +02:00
Also activate with ProtocolSupport being present. Adjust message.
This commit is contained in:
parent
bdf5e7aa71
commit
e8c4c11bb2
|
@ -65,7 +65,7 @@ public class VanillaBlocksFactory {
|
|||
if (description == null || description.isEmpty()) {
|
||||
description = patch.getClass().getSimpleName();
|
||||
}
|
||||
StaticLog.logInfo("BlockProperties patch applied: " + description);
|
||||
StaticLog.logInfo("Update block-info: " + description);
|
||||
}
|
||||
}
|
||||
catch (Throwable t) {
|
||||
|
|
|
@ -20,9 +20,17 @@ public class MultiClientProtocolWaterLilyPatch extends AbstractBlockPropertiesPa
|
|||
activation
|
||||
.neutralDescription("WATER_LILY block shape patch for multi client protocol support around 1.7.x - 1.11.x.")
|
||||
.advertise(true)
|
||||
.pluginExist("ViaVersion")
|
||||
.setConditionsOR()
|
||||
// TODO: Other/More ?
|
||||
;
|
||||
// ViaVersion
|
||||
activation
|
||||
.pluginExist("ViaVersion")
|
||||
;
|
||||
// ProtocolSupport
|
||||
activation
|
||||
.pluginExist("ProtocolSupport")
|
||||
;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue
Block a user