mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-04 08:39:05 +00:00
Oct6 (#28)
* Revised shop re-stocking interval. * Revised shop re-stocking interval. * Updated character save directory. * Renamed new player save directory from accounts to characters. * Added inverse for random toggle, since it's the first thing I type every time. * Added god capes. * Re-implemented experiments. * Yell now looks a little cleaner. * Fixed outside of bounds exception on High scores, when player count doesn't meet threshold. * Cleaned up Magic Teleports class and added level requirements. * Fixed exit portal from ancient chamber. * Added check to ensure axe id isn't outside the bounds of expected axes. * Added yet another check to ensure that the player has the required item before chopping a tree. NOTE this fix may not work as the issue is not reproducible locally. * Changed allowed connections from 3 to 250! * Sheep shearing just got easier!
This commit is contained in:
committed by
Daniel Ginovker
parent
84dbe2e879
commit
ffc3e02f59
@@ -28,7 +28,14 @@ public class ItemOnNpc implements PacketType {
|
||||
player.faceNpc(i);
|
||||
switch(npcId) {
|
||||
case 43:
|
||||
NpcHandler.npcs[i].requestTransformTime(player, 1735, 893, 43, 42, 50);
|
||||
if (NpcHandler.npcs[i].requestTransformTime(player, 1735, 893, 43, 42, 50, i))
|
||||
{
|
||||
player.getItemAssistant().addItem(1737, 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
player.getActionSender().sendMessage("You need to wait for this sheep's wool to regrow!");
|
||||
}
|
||||
break;
|
||||
}
|
||||
if (player.getItemAssistant().playerHasItem(995, 1) && npcId == 736) {
|
||||
|
||||
Reference in New Issue
Block a user