aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com
diff options
context:
space:
mode:
authorNotNite <hi@notnite.com>2023-06-26 15:52:05 -0400
committerNotNite <hi@notnite.com>2023-06-26 15:52:05 -0400
commit4cbe83614ad0d035c1d0ce11385335cec63a0ed8 (patch)
tree871610cecc66f71a27e20057925eedd75628ab98 /src/main/kotlin/com
parent490d368baea7a5281ca2378d8ed812ff9d49dfc7 (diff)
downloadgloppers-4cbe83614ad0d035c1d0ce11385335cec63a0ed8.tar.gz
gloppers-4cbe83614ad0d035c1d0ce11385335cec63a0ed8.tar.bz2
gloppers-4cbe83614ad0d035c1d0ce11385335cec63a0ed8.zip
Fix singleplayer
Diffstat (limited to 'src/main/kotlin/com')
-rw-r--r--src/main/kotlin/com/notnite/gloppers/Gloppers.kt5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main/kotlin/com/notnite/gloppers/Gloppers.kt b/src/main/kotlin/com/notnite/gloppers/Gloppers.kt
index bdea779..95596c0 100644
--- a/src/main/kotlin/com/notnite/gloppers/Gloppers.kt
+++ b/src/main/kotlin/com/notnite/gloppers/Gloppers.kt
@@ -1,13 +1,10 @@
package com.notnite.gloppers
-import net.fabricmc.api.DedicatedServerModInitializer
import net.minecraft.block.entity.HopperBlockEntity
import net.minecraft.inventory.Inventory
import net.minecraft.item.ItemStack
-object Gloppers : DedicatedServerModInitializer {
- override fun onInitializeServer() {}
-
+object Gloppers {
private fun matchesGlob(glob: String, str: String): Boolean {
val regex = glob
.replace(".", "\\.")