Also activate with ProtocolSupport being present. Adjust message.

This commit is contained in:
asofold 2017-04-29 12:19:40 +02:00
parent bdf5e7aa71
commit e8c4c11bb2
2 changed files with 10 additions and 2 deletions

View File

@ -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) {

View File

@ -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