From 5b5e18732148ff6aed28a59007bd376aa0ae8e7a Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Mon, 29 May 2023 19:28:28 -0500 Subject: [PATCH] Oops --- sig/App.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sig/App.java b/sig/App.java index dd96846..10d6231 100644 --- a/sig/App.java +++ b/sig/App.java @@ -155,9 +155,9 @@ class Server float GetMythraHealth(){ BufferedImage img=r.createScreenCapture(new Rectangle(105, 193, 107, 1)); System.out.println(img.getRGB(0,0)&255); - System.out.println(img.getRGB(0,0)&(255<<8)); - System.out.println(img.getRGB(0,0)&(255<<16)); - System.out.println(img.getRGB(0,0)&(255<<24)); + System.out.println((img.getRGB(0,0)&(255<<8))>>8); + System.out.println((img.getRGB(0,0)&(255<<16))>>16); + System.out.println((img.getRGB(0,0)&(255<<24))>>24); for (int i=img.getWidth()-1;i>=0;i--){ if ((img.getRGB(i,0)&255)>100){ return i/(img.getWidth()-1)*100;