Merge remote-tracking branch 'origin/main' into 1.18
This commit is contained in:
commit
b13d0a222b
|
|
@ -85,6 +85,11 @@ public abstract class TextureAtlasMixin {
|
|||
cir.getReturnValue().addAll(storedResults);
|
||||
}
|
||||
|
||||
@Inject(method = "prepareToStitch", at = @At("HEAD"))
|
||||
private void initMap(CallbackInfoReturnable<TextureAtlas.Preparations> cir) {
|
||||
loadedImages = new ConcurrentHashMap<>();
|
||||
}
|
||||
|
||||
@Inject(method = "prepareToStitch", at = @At("RETURN"))
|
||||
private void clearLoadedImages(CallbackInfoReturnable<TextureAtlas.Preparations> cir) {
|
||||
loadedImages = Collections.emptyMap();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user