Remove old debug log
This commit is contained in:
@@ -42,11 +42,6 @@ public class MixinClientPacketHandler {
|
|||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Inject(method = "onEntityPosition", at = @At(value = "TAIL"))
|
|
||||||
public void onEntityPosition(EntityPositionS2CPacket packet, CallbackInfo ci) {
|
|
||||||
System.out.printf("Got position update for %d", packet.getId());
|
|
||||||
}
|
|
||||||
|
|
||||||
@Inject(method = "sendPacket(Lnet/minecraft/network/packet/Packet;)V", at = @At("HEAD"), cancellable = true)
|
@Inject(method = "sendPacket(Lnet/minecraft/network/packet/Packet;)V", at = @At("HEAD"), cancellable = true)
|
||||||
public void onSendPacket(Packet<?> packet, CallbackInfo ci) {
|
public void onSendPacket(Packet<?> packet, CallbackInfo ci) {
|
||||||
if (OutgoingPacketEvent.Companion.publish(new OutgoingPacketEvent(packet)).getCancelled()) {
|
if (OutgoingPacketEvent.Companion.publish(new OutgoingPacketEvent(packet)).getCancelled()) {
|
||||||
|
|||||||
@@ -37,7 +37,6 @@ object ImagePreview : FirmamentFeature {
|
|||||||
val allowAllHosts by toggle("allow-all-hosts") { false }
|
val allowAllHosts by toggle("allow-all-hosts") { false }
|
||||||
val allowedHosts by string("allowed-hosts") { "cdn.discordapp.com,media.discordapp.com,media.discordapp.net,i.imgur.com" }
|
val allowedHosts by string("allowed-hosts") { "cdn.discordapp.com,media.discordapp.com,media.discordapp.net,i.imgur.com" }
|
||||||
val actualAllowedHosts get() = allowedHosts.split(",").map { it.trim() }
|
val actualAllowedHosts get() = allowedHosts.split(",").map { it.trim() }
|
||||||
val screenPercentage by integer("percentage", 10, 100) { 50 }
|
|
||||||
val position by position("position", 16 * 20, 9 * 20) { Point(0.0, 0.0) }
|
val position by position("position", 16 * 20, 9 * 20) { Point(0.0, 0.0) }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -73,7 +73,6 @@
|
|||||||
"firmament.config.image-preview.enabled": "Enable Image Preview",
|
"firmament.config.image-preview.enabled": "Enable Image Preview",
|
||||||
"firmament.config.image-preview.allow-all-hosts": "Allow all Image Hosts",
|
"firmament.config.image-preview.allow-all-hosts": "Allow all Image Hosts",
|
||||||
"firmament.config.image-preview.allowed-hosts": "Allowed Image Hosts",
|
"firmament.config.image-preview.allowed-hosts": "Allowed Image Hosts",
|
||||||
"firmament.config.image-preview.percentage": "Image Width (Percentage of screen)",
|
|
||||||
"firmament.config.image-preview.position": "Chat Image Preview",
|
"firmament.config.image-preview.position": "Chat Image Preview",
|
||||||
"firmament.hud.edit": "Edit %s",
|
"firmament.hud.edit": "Edit %s",
|
||||||
"firmament.config.custom-skyblock-textures": "Custom SkyBlock Item Textures",
|
"firmament.config.custom-skyblock-textures": "Custom SkyBlock Item Textures",
|
||||||
|
|||||||
Reference in New Issue
Block a user