TrainCarts: Shift slapping inconsistent, console spammed with errors
BkCommonLib version: 1.13.2-v3
TrainCarts version: 1.13.2-v1
Spigot version: 1.13.2
Problem or bug: When I spawn any train and get it moving, the console gets flooded with error messages. And also shift slapping inconsistent. Works for some trains, breaks the train for some. The following error message gets printed around 20 times per second.
[17:44:56 ERROR]: [Train_Carts] Failed to perform physics on train 'CRA01M1' at world_568_51_-133:
[17:44:56 ERROR]: [Train_Carts] Encountered a critical error
[17:44:56 ERROR]: [Train_Carts] Please, check for an updated version of Train_Carts before reporting this bug!
[17:44:56 ERROR]: [BKCommonLib] java.lang.AbstractMethodError: com.bergerkiller.generated.net.minecraft.server.EntityHandle.isLoaded()Z
[17:44:56 ERROR]: [BKCommonLib] at com.bergerkiller.bukkit.common.bases.ExtendedEntity.isInLoadedChunk(ExtendedEntity.java:451)
[17:44:56 ERROR]: [BKCommonLib] at com.bergerkiller.bukkit.tc.controller.MinecartGroup.doPhysics(MinecartGroup.java:1403)
[17:44:56 ERROR]: [BKCommonLib] at com.bergerkiller.bukkit.tc.controller.MinecartMember.onTick(MinecartMember.java:1906)
[17:44:56 ERROR]: [BKCommonLib] at com.bergerkiller.bukkit.common.internal.hooks.EntityHook.onTick(EntityHook.java:118)
[17:44:56 ERROR]: [BKCommonLib] at com.bergerkiller.mountiplex.reflection.util.fast.GeneratedInvoker$mplgen63d75313.invokeVA(Unknown Source)
[17:44:56 ERROR]: [BKCommonLib] at com.bergerkiller.mountiplex.reflection.util.FastMethod.invokeVA(FastMethod.java:112)
[17:44:56 ERROR]: [BKCommonLib] at com.bergerkiller.mountiplex.reflection.ClassInterceptor$CallbackMethodInterceptor.intercept(ClassInterceptor.java:655)
[17:44:56 ERROR]: [BKCommonLib] at net.minecraft.server.v1_13_R2.EntityMinecartRideable$$EnhancerByCGLIB$$2b1c6f57.tick(<generated>)
[17:44:56 ERROR]: [BKCommonLib] at net.minecraft.server.v1_13_R2.World.entityJoinedWorld(World.java:1331)
[17:44:56 ERROR]: [BKCommonLib] at net.minecraft.server.v1_13_R2.World.g(World.java:1298)
[17:44:56 ERROR]: [BKCommonLib] at net.minecraft.server.v1_13_R2.World.tickEntities(World.java:1132)
[17:44:56 ERROR]: [BKCommonLib] at net.minecraft.server.v1_13_R2.WorldServer.tickEntities(WorldServer.java:583)
[17:44:56 ERROR]: [BKCommonLib] at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:968)
[17:44:56 ERROR]: [BKCommonLib] at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417)
[17:44:56 ERROR]: [BKCommonLib] at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:831)
[17:44:56 ERROR]: [BKCommonLib] at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:729)
[17:44:56 ERROR]: [BKCommonLib] at java.lang.Thread.run(Unknown Source)
Expected behaviour: Run smoothly
Steps to reproduce:
-Make a fresh server -Install BKC and TC -Make an automated system using signs -Spawn trains on your freshly made line -Look at the console
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 15 (6 by maintainers)
I was mistaken, it was turkish not arabic causing that. There’s a rather infamous problem in Java when you use toLowerCase/toUpperCase without explicitly mentioning English locale: http://mattryall.net/blog/2009/02/the-infamous-turkish-locale-bug
Basically, the ‘i’ in ‘IsLoaded’ disappears and mismatches what is found in the pregenerated template files. I did indeed forget to put the english locale in some places. This should patch that: https://ci.mg-dev.eu/job/BKCommonLib/569/