Coder Social home page Coder Social logo

spawn-protection-tweaks's People

Contributors

macbrayne avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

spawn-protection-tweaks's Issues

Not reading advancedEventConfig properly when player interacting on end dimension

Hi, i'll begin to post my findings here in order to make this more organized.
My players told me today that the end dimension was unusable, even though i didn't configured any restrictions there. Logs seems to tell that it is not reading the dimension when on end. For the meantime i rolled back to 0.3.

[21:38:19] [Server thread/FATAL]: Error executing task on Server
java.lang.NullPointerException: Cannot read field "advancedEventConfig" because the return value of "de.macbrayne.fabric.spawnprotectiontweaks.utils.ModConfig.getDimension(net.minecraft.class_3218)" is null
        at de.macbrayne.fabric.spawnprotectiontweaks.events.PlayerEvents$PlayerPermissions.lambda$static$4(PlayerEvents.java:85) ~[spawnprotectiontweaks-0.4.1+1.17.1.jar:?]
        at de.macbrayne.fabric.spawnprotectiontweaks.events.PlayerEvents$PlayerPermissions.isEnabled(PlayerEvents.java:108) ~[spawnprotectiontweaks-0.4.1+1.17.1.jar:?]
        at de.macbrayne.fabric.spawnprotectiontweaks.events.PlayerEvents.isAllowedAt(PlayerEvents.java:62) ~[spawnprotectiontweaks-0.4.1+1.17.1.jar:?]
        at de.macbrayne.fabric.spawnprotectiontweaks.events.PlayerEvents.onUseItem(PlayerEvents.java:54) ~[spawnprotectiontweaks-0.4.1+1.17.1.jar:?]
        at net.fabricmc.fabric.api.event.player.UseItemCallback.lambda$static$0(UseItemCallback.java:42) ~[fabric-events-interaction-v0-0.4+e99fbe1218-d7e0e2833ced922b.jar:?]
        at net.minecraft.class_3225.handler$zbj000$interactItem(class_3225.java:591) ~[server-intermediary.jar:?]
        at net.minecraft.class_3225.method_14256(class_3225.java) ~[server-intermediary.jar:?]
        at net.minecraft.class_3244.method_12065(class_3244.java:1086) ~[server-intermediary.jar:?]
        at net.minecraft.class_2886.method_12550(class_2886.java:25) ~[server-intermediary.jar:?]
        at net.minecraft.class_2886.method_11054(class_2886.java:7) ~[server-intermediary.jar:?]
        at net.minecraft.class_2600.method_11072(class_2600.java:21) ~[server-intermediary.jar:?]
        at net.minecraft.class_3738.run(class_3738.java:18) ~[server-intermediary.jar:?]
        at net.minecraft.class_1255.method_18859(class_1255.java:151) ~[server-intermediary.jar:?]
        at net.minecraft.class_4093.method_18859(class_4093.java:23) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_24306(MinecraftServer.java:788) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_18859(MinecraftServer.java:164) ~[server-intermediary.jar:?]
        at net.minecraft.class_1255.method_16075(class_1255.java:125) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_20415(MinecraftServer.java:770) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_16075(MinecraftServer.java:764) ~[server-intermediary.jar:?]
        at net.minecraft.class_1255.method_18857(class_1255.java:134) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_16208(MinecraftServer.java:749) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:701) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:270) ~[server-intermediary.jar:?]
        at java.lang.Thread.run(Thread.java:831) [?:?]

spt-advEventCfg-endUnusable.json.txt

entire world is treated as protected spawn until setting radius to 0 for each dimension

After installing the mod, players in survival mod weren't able to attack mobs or destroy/place blocks ANYWHERE in the dimension.

This was fixed by running "/spawnprotectiontweaks dimensions radius set (dimension) 0" in each dimension. This also added corresponding dimension groups into the spawnprotectiontweaks.json config file.

running 1.18.1 with fabric launcher 0.12.12

mod list: https://pastebin.com/dZu7s3t4

also the following error in the server console when trying to break blocks (before running the command): https://pastebin.com/40TrgreB

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.