diff options
Diffstat (limited to 'src')
3 files changed, 0 insertions, 7 deletions
diff --git a/src/main/java/moe/nea/firmament/mixins/MixinClientPacketHandler.java b/src/main/java/moe/nea/firmament/mixins/MixinClientPacketHandler.java index 1c527ab..70fdc29 100644 --- a/src/main/java/moe/nea/firmament/mixins/MixinClientPacketHandler.java +++ b/src/main/java/moe/nea/firmament/mixins/MixinClientPacketHandler.java @@ -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) public void onSendPacket(Packet<?> packet, CallbackInfo ci) { if (OutgoingPacketEvent.Companion.publish(new OutgoingPacketEvent(packet)).getCancelled()) { diff --git a/src/main/kotlin/moe/nea/firmament/features/chat/ImagePreview.kt b/src/main/kotlin/moe/nea/firmament/features/chat/ImagePreview.kt index 90edac3..e612995 100644 --- a/src/main/kotlin/moe/nea/firmament/features/chat/ImagePreview.kt +++ b/src/main/kotlin/moe/nea/firmament/features/chat/ImagePreview.kt @@ -37,7 +37,6 @@ object ImagePreview : FirmamentFeature { 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 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) } } diff --git a/src/main/resources/assets/firmament/lang/en_us.json b/src/main/resources/assets/firmament/lang/en_us.json index b33c253..94e7560 100644 --- a/src/main/resources/assets/firmament/lang/en_us.json +++ b/src/main/resources/assets/firmament/lang/en_us.json @@ -73,7 +73,6 @@ "firmament.config.image-preview.enabled": "Enable Image Preview", "firmament.config.image-preview.allow-all-hosts": "Allow all 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.hud.edit": "Edit %s", "firmament.config.custom-skyblock-textures": "Custom SkyBlock Item Textures", |