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

ANVIL inventory type #1610

Closed
wolfwork opened this issue Jun 30, 2017 · 3 comments
Closed

ANVIL inventory type #1610

wolfwork opened this issue Jun 30, 2017 · 3 comments

Comments

@wolfwork
Copy link

MINE_REINFORCE:
type: inventory
inventory: ANVIL
title: ANvil

[16:55:01 FATAL]: Error executing task
java.util.concurrent.ExecutionException: java.lang.IndexOutOfBoundsException: Index: 2, Size: 0
at java.util.concurrent.FutureTask.report(Unknown Source) ~[?:1.8.0_131]
at java.util.concurrent.FutureTask.get(Unknown Source) ~[?:1.8.0_131]
at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:45) [spigot.jar:git-Spigot-e4d4710-e1ebe52]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [spigot.jar:git-Spigot-e4d4710-e1ebe52]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot.jar:git-Spigot-e4d4710-e1ebe52]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot.jar:git-Spigot-e4d4710-e1ebe52]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot.jar:git-Spigot-e4d4710-e1ebe52]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_131]
Caused by: java.lang.IndexOutOfBoundsException: Index: 2, Size: 0
at java.util.ArrayList.rangeCheck(Unknown Source) ~[?:1.8.0_131]
at java.util.ArrayList.get(Unknown Source) ~[?:1.8.0_131]
at net.minecraft.server.v1_8_R3.Container.getSlot(Container.java:109) ~[spigot.jar:git-Spigot-e4d4710-e1ebe52]
at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1463) ~[spigot.jar:git-Spigot-e4d4710-e1ebe52]
at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31) ~[spigot.jar:git-Spigot-e4d4710-e1ebe52]
at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9) ~[spigot.jar:git-Spigot-e4d4710-e1ebe52]
at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) ~[spigot.jar:git-Spigot-e4d4710-e1ebe52]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_131]
at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_131]
at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) ~[spigot.jar:git-Spigot-e4d4710-e1ebe52]
... 5 more

@mcmonkey4eva
Copy link
Member

I... don't think that can reasonably be used as an inventory script?
Anvils don't really work the same as most other inventory types...

@wolfwork
Copy link
Author

wolfwork commented Jul 7, 2017

Would like to use it as a design. But unlike other things, clicking on anvil type Inv causes an error

@Morphan1
Copy link
Contributor

Sorry, I don't think this is a reasonable thing to accomplish at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants