ClayCoffee / ClayTech

An addon for slimefun.
GNU Affero General Public License v3.0
17 stars 15 forks source link

[BUG]FOOD_CHALKING_MACHINE cannot be placed #68

Closed Xzavier0722 closed 4 years ago

Xzavier0722 commented 4 years ago

Describe 描述 An exception thrown while putting down the food chalking machine. With the error-report as below: Java Environment: Operating System: Linux Java Version: 1.8.0_221

Server Software: Paper Build: git-Paper-133 (MC: 1.16.1) Minecraft: 1.16.1-R0.1-SNAPSHOT

Slimefun Environment: CS-CoreLib vDEV - 90 (git 9dd4a1cf) Slimefun v4.3-dev-200810 Caused by: ClayTech v1.2.7

Installed Addons (3)

Installed Plugins (37):

Block Info: World: world X: 12934 Y: 63 Z: 18130 Material: PLAYER_HEAD Block Data: org.bukkit.craftbukkit.v1_16_R1.block.impl.CraftSkullPlayer State: org.bukkit.craftbukkit.v1_16_R1.block.CraftSkull Ticker-Info: Type: Asynchronous

Slimefun Data: ID: CLAY_FOOD_CHALKING_MACHINE Inventory: true Data: {"energy-charge":"288","id":"CLAY_FOOD_CHALKING_MACHINE"}

Stacktrace:

java.lang.NullPointerException at me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.AContainer.tick(AContainer.java:265) at me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.AContainer$2.tick(AContainer.java:216) at io.github.thebusybiscuit.slimefun4.implementation.tasks.TickerTask.tickBlock(TickerTask.java:127) at io.github.thebusybiscuit.slimefun4.implementation.tasks.TickerTask.tick(TickerTask.java:115) at io.github.thebusybiscuit.slimefun4.implementation.tasks.TickerTask.run(TickerTask.java:70) at io.github.thebusybiscuit.slimefun4.implementation.tasks.TickerTask.lambda$start$4(TickerTask.java:183) at org.bukkit.craftbukkit.v1_16_R1.scheduler.CraftTask.run(CraftTask.java:99) at org.bukkit.craftbukkit.v1_16_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)

To Reproduce 如何复现 Put down it.

Running Environment 运行环境 It should contain in report.

Screenshots 截图 None

dixiatielu commented 4 years ago

我遇到了同样的bug……