mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-09-29 23:17:41 +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()) {
|
if (description == null || description.isEmpty()) {
|
||||||
description = patch.getClass().getSimpleName();
|
description = patch.getClass().getSimpleName();
|
||||||
}
|
}
|
||||||
StaticLog.logInfo("BlockProperties patch applied: " + description);
|
StaticLog.logInfo("Update block-info: " + description);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Throwable t) {
|
catch (Throwable t) {
|
||||||
|
@ -20,9 +20,17 @@ public class MultiClientProtocolWaterLilyPatch extends AbstractBlockPropertiesPa
|
|||||||
activation
|
activation
|
||||||
.neutralDescription("WATER_LILY block shape patch for multi client protocol support around 1.7.x - 1.11.x.")
|
.neutralDescription("WATER_LILY block shape patch for multi client protocol support around 1.7.x - 1.11.x.")
|
||||||
.advertise(true)
|
.advertise(true)
|
||||||
.pluginExist("ViaVersion")
|
.setConditionsOR()
|
||||||
// TODO: Other/More ?
|
// TODO: Other/More ?
|
||||||
;
|
;
|
||||||
|
// ViaVersion
|
||||||
|
activation
|
||||||
|
.pluginExist("ViaVersion")
|
||||||
|
;
|
||||||
|
// ProtocolSupport
|
||||||
|
activation
|
||||||
|
.pluginExist("ProtocolSupport")
|
||||||
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user