mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 17:19:05 +00:00
Fix Some Bugs
This commit is contained in:
1 parent
4ae8978399
commit
e3cfdd5ee1
6 files changed
+18
-19
No files matched your search
@@ -191,18 +191,6 @@ public class NoppesUtil {
|
||||
group = new HashMap<String,Integer>();
|
||||
}
|
||||
|
||||
public static void addScrollData(ByteBuf buffer) {
|
||||
try {
|
||||
int size = buffer.readInt();
|
||||
for(int i = 0; i < size; i++){
|
||||
int id = buffer.readInt();
|
||||
String name = ByteBufUtils.readString(buffer);
|
||||
data.put(name, id);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
}
|
||||
}
|
||||
|
||||
public static void setScrollData(ByteBuf buffer) {
|
||||
GuiScreen gui = Minecraft.getMinecraft().currentScreen;
|
||||
if(gui == null)
|
||||
|
||||
Reference in new issue
Block a user