Skip to content

Instantly share code, notes, and snippets.

@satoshinm
Created April 13, 2017 05:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save satoshinm/8a7cb999c09bb42048e70647875f53c8 to your computer and use it in GitHub Desktop.
Save satoshinm/8a7cb999c09bb42048e70647875f53c8 to your computer and use it in GitHub Desktop.
Glowstone saving Sheep after entity.setCustomNameVisible(true); - Error saving GlowSheep in GlowChunk{world=world,x=-6,z=5} java.lang.IllegalArgumentException: Cannot get SHOW_NAME_TAG: is BOOLEAN, not BYTE
22:55:54 [INFO] This server is running Glowstone version 2017.4.0.1-SNAPSHOT-MC1.11.2 (Implementing API version 1.11.2-R0.1-SNAPSHOT)
22:55:54 [INFO] Recipes: 299 shaped, 63 shapeless, 26 furnace, 10 dynamic, 28 fuels.
22:55:54 [WARNING] The server is running in offline mode! Only do this if you know what you're doing.
22:55:54 [INFO] Scanning plugins...
22:55:54 [INFO] PluginTypeDetector: found 1 Bukkit, 0 Sponge, 0 Forge, 0 Canary, 0 unknown plugins (total 1)
22:55:54 [INFO] Set PluginClassLoader as parallel capable
22:55:54 [INFO] Preparing spawn for world...
22:55:55 [INFO] Preparing spawn for world: 47%
22:55:56 [INFO] Preparing spawn for world: done
22:55:56 [INFO] Preparing spawn for world_nether...
22:55:57 [INFO] Preparing spawn for world_nether: 33%
22:55:58 [INFO] Preparing spawn for world_nether: 87%
22:55:58 [INFO] Preparing spawn for world_nether: done
22:55:58 [INFO] Preparing spawn for world_the_end...
22:55:59 [INFO] Preparing spawn for world_the_end: done
22:55:59 [INFO] [WebSandboxMC] Enabling WebSandboxMC v0.2
22:55:59 [INFO] Binding server to 0.0.0.0/0.0.0.0:25565...
22:55:59 [INFO] Successfully bound server to 0.0.0.0/0.0.0.0:25565.
22:55:59 [INFO] Ready for connections.
22:55:59 [INFO] [id: 0xa57c168a] REGISTERED
22:55:59 [INFO] [id: 0xa57c168a] BIND: 0.0.0.0/0.0.0.0:4081
22:55:59 [INFO] Open your web browser and navigate to http://127.0.0.1:4081/index.html
22:55:59 [INFO] [id: 0xa57c168a, L:/0:0:0:0:0:0:0:0:4081] ACTIVE
22:56:01 [INFO] [id: 0xa57c168a, L:/0:0:0:0:0:0:0:0:4081] RECEIVED: [id: 0x9be02ebf, L:/0:0:0:0:0:0:0:1:4081 - R:/0:0:0:0:0:0:0:1:63954]
22:56:01 [INFO] [id: 0xa57c168a, L:/0:0:0:0:0:0:0:0:4081] RECEIVED: [id: 0x5468edda, L:/0:0:0:0:0:0:0:1:4081 - R:/0:0:0:0:0:0:0:1:63955]
22:56:01 [INFO] [id: 0xa57c168a, L:/0:0:0:0:0:0:0:0:4081] RECEIVED: [id: 0xccab7624, L:/0:0:0:0:0:0:0:1:4081 - R:/0:0:0:0:0:0:0:1:63956]
22:56:01 [INFO] [id: 0xa57c168a, L:/0:0:0:0:0:0:0:0:4081] RECEIVED: [id: 0x7d28c04d, L:/0:0:0:0:0:0:0:1:4081 - R:/0:0:0:0:0:0:0:1:63957]
22:56:02 [INFO] [id: 0xa57c168a, L:/0:0:0:0:0:0:0:0:4081] RECEIVED: [id: 0x8774de96, L:/0:0:0:0:0:0:0:1:4081 - R:/0:0:0:0:0:0:0:1:63963]
22:56:02 [INFO] userEventTriggered: HANDSHAKE_COMPLETE
22:56:03 [INFO] userEventTriggered: io.github.satoshinm.WebSandboxMC.dep.io.netty.handler.codec.http.websocketx.WebSocketServerProtocolHandler$HandshakeComplete@4352e6c7
22:56:03 [INFO] received 4 bytes: V,1
22:56:03 [INFO] received 4 bytes: A,,
22:56:03 [INFO] received 10 bytes: C,-1,-1,0
22:56:03 [INFO] received 9 bytes: C,-1,0,0
22:56:03 [INFO] received 9 bytes: C,-1,1,0
22:56:03 [INFO] received 9 bytes: C,0,-1,0
22:56:03 [INFO] received 8 bytes: C,0,0,0
22:56:03 [INFO] received 8 bytes: C,0,1,0
22:56:03 [INFO] received 9 bytes: C,1,-1,0
22:56:03 [INFO] received 8 bytes: C,1,0,0
22:56:03 [INFO] received 8 bytes: C,1,1,0
22:56:03 [INFO] received 30 bytes: P,16.00,45.88,16.00,0.00,0.00
22:56:03 [INFO] received 30 bytes: P,16.00,44.32,16.00,0.00,0.00
22:56:03 [INFO] received 30 bytes: P,16.00,42.57,16.00,0.00,0.00
22:56:04 [INFO] received 30 bytes: P,16.00,40.25,16.00,0.00,0.00
22:56:04 [INFO] received 30 bytes: P,16.00,37.98,16.00,0.00,0.00
22:56:04 [INFO] received 30 bytes: P,16.00,35.75,16.00,0.00,0.00
>save-all
22:56:08 [INFO] CONSOLE: Forcing save..
22:56:08 [WARNING] Error saving GlowSheep in GlowChunk{world=world,x=-6,z=5}
java.lang.IllegalArgumentException: Cannot get SHOW_NAME_TAG: is BOOLEAN, not BYTE
at net.glowstone.entity.meta.MetadataMap.get(MetadataMap.java:117)
at net.glowstone.entity.meta.MetadataMap.getByte(MetadataMap.java:95)
at net.glowstone.entity.GlowEntity.isCustomNameVisible(GlowEntity.java:950)
at net.glowstone.io.entity.LivingEntityStore.save(LivingEntityStore.java:158)
at net.glowstone.io.entity.CreatureStore.save(CreatureStore.java:22)
at net.glowstone.io.entity.AgeableStore.save(AgeableStore.java:61)
at net.glowstone.io.entity.SheepStore.save(SheepStore.java:39)
at net.glowstone.io.entity.SheepStore.save(SheepStore.java:9)
at net.glowstone.io.entity.EntityStorage.save(EntityStorage.java:192)
at net.glowstone.io.anvil.AnvilChunkIoService.write(AnvilChunkIoService.java:225)
at net.glowstone.chunk.ChunkManager.performSave(ChunkManager.java:404)
at net.glowstone.GlowWorld.lambda$save$7(GlowWorld.java:956)
at net.glowstone.GlowWorld.maybeAsync(GlowWorld.java:1697)
at net.glowstone.GlowWorld.save(GlowWorld.java:954)
at net.glowstone.GlowWorld.save(GlowWorld.java:944)
at org.bukkit.command.defaults.SaveCommand.execute(SaveCommand.java:29)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:188)
at net.glowstone.GlowServer.dispatchCommand(GlowServer.java:1244)
at net.glowstone.ConsoleManager$CommandTask.run(ConsoleManager.java:284)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at net.glowstone.scheduler.GlowTask.run(GlowTask.java:167)
at net.glowstone.scheduler.GlowScheduler.pulse(GlowScheduler.java:152)
at net.glowstone.scheduler.GlowScheduler.lambda$start$0(GlowScheduler.java:83)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
22:56:09 [INFO] CONSOLE: Save complete.
@satoshinm
Copy link
Author

GlowstoneMC/Glowstone@47b0e0b Change SHOW_NAME_TAG getter to boolean

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment