Renames trapable to trappable. (#4)

This commit is contained in:
Kamron Batman 2018-02-20 11:08:02 -08:00 committed by GitHub
parent bb8f09752f
commit 9a4aeaba0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 22 additions and 22 deletions

View file

@ -45,9 +45,9 @@ namespace Server.SkillHandlers
{
from.SendLocalizedMessage( 502816 ); // You feel that such an action would be inappropriate
}
else if ( targeted is TrapableContainer )
else if ( targeted is TrappableContainer )
{
TrapableContainer targ = (TrapableContainer)targeted;
TrappableContainer targ = (TrappableContainer)targeted;
from.Direction = from.GetDirectionTo( targ );

View file

@ -84,7 +84,7 @@ namespace Server.SkillHandlers
if ( from.AccessLevel > AccessLevel.Player || from.CheckTargetSkill( SkillName.Snooping, cont, 0.0, 100.0 ) )
{
if ( cont is TrapableContainer && ((TrapableContainer)cont).ExecuteTrap( from ) )
if ( cont is TrappableContainer && ((TrappableContainer)cont).ExecuteTrap( from ) )
return;
cont.DisplayTo( from );