aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-07-31 01:33:29 +0200
committernea <nea@nea.moe>2023-07-31 01:33:29 +0200
commitbdf943b1f156911c044cfa5f54134e5ee6e7c3e4 (patch)
treea923f0bb7e0c0c2cfb1587d56401e4a122bfff6e /src
parente6e3f4a496bfff99bce3aa4469e74f29b3daab12 (diff)
downloadfirmament-bdf943b1f156911c044cfa5f54134e5ee6e7c3e4.tar.gz
firmament-bdf943b1f156911c044cfa5f54134e5ee6e7c3e4.tar.bz2
firmament-bdf943b1f156911c044cfa5f54134e5ee6e7c3e4.zip
Remove old debug log
Diffstat (limited to 'src')
-rw-r--r--src/main/java/moe/nea/firmament/mixins/MixinClientPacketHandler.java5
-rw-r--r--src/main/kotlin/moe/nea/firmament/features/chat/ImagePreview.kt1
-rw-r--r--src/main/resources/assets/firmament/lang/en_us.json1
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",