File tree 3 files changed +0
-8
lines changed
java/world/bentobox/islandfly/listeners
test/java/world/bentobox/islandfly/listeners
3 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -119,8 +119,6 @@ boolean removeFly(User user) {
119
119
disableFly (user );
120
120
return true ;
121
121
}
122
- if (user .getPlayer ().isFlying ())
123
- user .sendMessage ("islandfly.cancel-disable" );
124
122
return false ;
125
123
}
126
124
@@ -129,10 +127,6 @@ boolean removeFly(User user) {
129
127
disableFly (user );
130
128
return true ;
131
129
}
132
-
133
- // If false, will stay silent
134
- if (user .getPlayer ().isFlying ())
135
- user .sendMessage ("islandfly.cancel-disable" );
136
130
return false ;
137
131
}
138
132
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ islandfly:
5
5
not-allowed : " &c Flying is not allowed here."
6
6
reallowed-fly : " &a Your fly has been reallowed"
7
7
enable-fly : " &a Your fly mode has been enabled."
8
- cancel-disable : " &a You are back, huh! Fly fuel successfully refilled!"
9
8
wrong-world : " &c You are not in the right gamemode world"
10
9
outside-protection-range : " &c You are not allowed to do that outside your island protection range"
11
10
command :
Original file line number Diff line number Diff line change @@ -276,7 +276,6 @@ public void testRemoveFlyUserFlyingOutsideProtectedIsland() {
276
276
@ Test
277
277
public void testRemoveFlyUserFlyingBackInProtectedAreaOfIsland () {
278
278
assertFalse (fl .removeFly (user ));
279
- verify (user ).sendMessage ("islandfly.cancel-disable" );
280
279
}
281
280
282
281
/**
You can’t perform that action at this time.
0 commit comments