preprocessor
preprocessor copied to clipboard
[Bug?] This may be my doing... But I came across an issue with preprocessor.
here is the stacktrace. I don't really understand it at all xD.
///*
//#if MC < 11700
@ModifyExpressionValue(
method = "checkEntityChunkPos",
at = @At(
value = "INVOKE",
target = "net/minecraft/entity/Entity.teleportRequested()Z"
)
)
private boolean carbon$updateTeleportRequested(boolean original, @Local(argsOnly = true) Entity entity) {
return original || (CarbonSettings.forceLoadEnderPearls && (entity instanceof EnderPearlEntity));
}
//#endif
//*/
the code that breaks ONLY if the // is before the block comments. The preprocessed code outputs correctly in newer versions.
I suspect it has to do with remapping classes or something.
Sorry if this is my fault.... I know this is more of a support thing as I don't know the issue.
Thanks!
If you need any more info I can send it of course.
(I meant to say that when it is block commented it works.
could it be the . in this target = "net/minecraft/entity/Entity.teleportRequested()Z"
?