Merge branch 'altar-fix' into 'master'
Fix bone -> altar exploit See merge request 2009scape/2009scape!83
This commit is contained in:
+2
-1
@@ -1,6 +1,7 @@
|
|||||||
package core.game.node.entity.skill.construction.decoration.chapel;
|
package core.game.node.entity.skill.construction.decoration.chapel;
|
||||||
|
|
||||||
|
|
||||||
|
import api.ContentAPI;
|
||||||
import core.cache.def.impl.SceneryDefinition;
|
import core.cache.def.impl.SceneryDefinition;
|
||||||
import core.game.content.global.Bones;
|
import core.game.content.global.Bones;
|
||||||
import core.game.node.entity.skill.Skills;
|
import core.game.node.entity.skill.Skills;
|
||||||
@@ -86,7 +87,7 @@ public class BoneOfferPlugin extends UseWithHandler {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
final Location start = player.getLocation();
|
final Location start = player.getLocation();
|
||||||
GameWorld.getPulser().submit(new Pulse(1) {
|
ContentAPI.submitIndividualPulse(player, new Pulse(1) {
|
||||||
int counter = 0;
|
int counter = 0;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user