Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It wont let me create a town on the server #164

Open
Solar-Dolphin opened this issue Mar 27, 2022 · 0 comments
Open

It wont let me create a town on the server #164

Solar-Dolphin opened this issue Mar 27, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Solar-Dolphin
Copy link

Description: What's wrong?
This is the error i am getting in the console when i run the /town create command
[22:50:27] [Server thread/INFO] [nucleus]: Solar_DolphinYT ran the command: /town create InfinityHQ
[22:50:27] [Server thread/ERROR] [Sponge]: Error occurred while executing command 'town create InfinityHQ' for source EntityPlayerMP['Solar_DolphinYT'/242, l='PixelDolphin', x=3335.83, y=95.00, z=-6802.48]: null
java.lang.NullPointerException: null
at com.erigitic.config.TEAccount.hasBalance(TEAccount.java:106) ~[TEAccount.class:?]
at com.erigitic.config.TEAccount.getBalance(TEAccount.java:131) ~[TEAccount.class:?]
at com.erigitic.config.TEAccount.withdraw(TEAccount.java:279) ~[TEAccount.class:?]
at org.spongepowered.api.service.economy.account.Account.withdraw(Account.java:330) ~[Account.class:1.12.2-2838-7.4.7]
at com.atherys.towns.facade.TownFacade.createTown(TownFacade.java:168) ~[TownFacade.class:?]
at com.atherys.towns.facade.TownFacade.createTownOrPoll(TownFacade.java:147) ~[TownFacade.class:?]
at com.atherys.towns.command.town.CreateTownCommand.execute(CreateTownCommand.java:34) ~[CreateTownCommand.class:?]
at com.atherys.core.command.PlayerCommand.execute(PlayerCommand.java:21) ~[PlayerCommand.class:?]
at org.spongepowered.api.command.args.ChildCommandElementExecutor.execute(ChildCommandElementExecutor.java:255) ~[ChildCommandElementExecutor.class:1.12.2-2838-7.4.7]
at org.spongepowered.api.command.spec.CommandSpec.process(CommandSpec.java:388) ~[CommandSpec.class:1.12.2-2838-7.4.7]
at org.spongepowered.common.command.SpongeCommandDispatcher.process(SpongeCommandDispatcher.java:355) ~[SpongeCommandDispatcher.class:1.12.2-2838-7.4.7]
at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:360) [SpongeCommandManager.class:1.12.2-2838-7.4.7]
at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:665) [dh.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:962) [pa.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:941) [pa.class:?]
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37) [la.class:?]
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9) [la.class:?]
at org.spongepowered.common.event.tracking.phase.packet.PacketPhaseUtil.onProcessPacket(PacketPhaseUtil.java:219) [PacketPhaseUtil.class:1.12.2-2838-7.4.7]
at net.minecraft.network.PacketThreadUtil$1.redirect$zld000$impl$redirectToPhaseTracker(SourceFile:540) [hv$1.class:?]
at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [hv$1.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_312]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_312]
at net.minecraft.util.Util.func_181617_a(SourceFile:46) [h.class:?]
at org.spongepowered.common.SpongeImplHooks.onUtilRunTask(SpongeImplHooks.java:331) [SpongeImplHooks.class:1.12.2-2838-7.4.7]
at net.minecraft.server.MinecraftServer.redirect$zjh000$onRun(MinecraftServer.java:4682) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397) [nz.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_312]
Reproduction Steps: How do we re-create it?
just select a border for the plot then try to make a plot
Expected Behavior: What should be happening?
make the town
Observed Behavior: What is happening instead?
an error.

@Solar-Dolphin Solar-Dolphin added the bug Something isn't working label Mar 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant