mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-04 16:49:04 +00:00
Global drops/monks/al kharid furnance (#192)
closes #177 closes #136 (hp restoring works, couldn't find the anim tho) closes #178 (should fix all the issues, let me know for sure) Also removed the object does not exist message ingame for non admins and got rid of the isBotting code when clicking objects
This commit is contained in:
committed by
Daniel Ginovker
parent
855f4b9ab7
commit
2b6ff7db02
@@ -1,7 +1,6 @@
|
||||
package redone.game.players;
|
||||
|
||||
import java.net.InetSocketAddress;
|
||||
|
||||
import redone.Constants;
|
||||
import redone.Server;
|
||||
import redone.event.CycleEventHandler;
|
||||
@@ -10,6 +9,7 @@ import redone.game.npcs.Npc;
|
||||
import redone.game.npcs.NpcHandler;
|
||||
import redone.util.Misc;
|
||||
import redone.util.Stream;
|
||||
import redone.world.GlobalDropsHandler;
|
||||
|
||||
public class PlayerHandler {
|
||||
|
||||
@@ -365,6 +365,11 @@ public class PlayerHandler {
|
||||
}
|
||||
|
||||
str.endFrameVarSizeWord();
|
||||
|
||||
if (plr.refresh) {
|
||||
GlobalDropsHandler.reset((Client)plr);
|
||||
plr.refresh = false;
|
||||
}
|
||||
}
|
||||
|
||||
private void removePlayer(Player plr) {
|
||||
|
||||
Reference in New Issue
Block a user