mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-08-10 17:55:44 +00:00
fuck fuck fuckedy fuck
This commit is contained in:
parent
2e292f2a20
commit
64b1dbcd5a
@ -199,7 +199,8 @@ public class StackCache {
|
||||
public static long getStackIdentity(Item item, int meta, NBTTagCompound nbt) {
|
||||
if(item == null) return getNullIdentity();
|
||||
long identity = Item.getIdFromItem(item) * 27644437;
|
||||
identity += meta * 27644437;
|
||||
identity += meta;
|
||||
identity *= 27644437;
|
||||
if(nbt != null) identity += nbt.toString().hashCode();
|
||||
return identity;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user