Fix deduplicate_location
This commit is contained in:
parent
180606eea1
commit
ef07197345
|
|
@ -15,15 +15,15 @@ public class MixinResourceLocation {
|
||||||
@Mutable
|
@Mutable
|
||||||
@Shadow
|
@Shadow
|
||||||
@Final
|
@Final
|
||||||
protected String namespace;
|
private String namespace;
|
||||||
|
|
||||||
@Mutable
|
@Mutable
|
||||||
@Shadow
|
@Shadow
|
||||||
@Final
|
@Final
|
||||||
protected String path;
|
private String path;
|
||||||
|
|
||||||
@Inject(method = "<init>([Ljava/lang/String;)V", at = @At("RETURN"))
|
@Inject(method = "<init>", at = @At("RETURN"))
|
||||||
private void reinit(String[] id, CallbackInfo ci) {
|
private void reinit(String string, String string2, CallbackInfo ci) {
|
||||||
this.namespace = IdentifierCaches.NAMESPACES.deduplicate(this.namespace);
|
this.namespace = IdentifierCaches.NAMESPACES.deduplicate(this.namespace);
|
||||||
this.path = IdentifierCaches.PATH.deduplicate(this.path);
|
this.path = IdentifierCaches.PATH.deduplicate(this.path);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user