[SPIGOT-4180] Unable to enter one block holes when swimming on land Created: 28/Jul/18  Updated: 28/Jul/18  Resolved: 28/Jul/18

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Cameron Assignee: Unassigned
Resolution: Invalid Votes: 0
Labels: 1.13, bug, spigot
Environment:

This issue was tested on a localhost server running on my MacBook.


Version: This server is running CraftBukkit version git-Spigot-f68f5a8-4b00823 (MC: 1.13) (Implementing API version 1.13-R0.1-SNAPSHOT) Checking version, please wait... You are 8 version(s) behind
Plugin: Custom
Guidelines Read: Yes

 Description   

When utilizing the following method:

Player player = ...;
player.setSwimming(true);

I am unable to enter one-block wide/tall holes on land, like I'd be able to in the water.

The player is indeed in the swimming position when I attempt to enter sed hole, however the server will teleport the player back to the former position, now allowing them to enter/pass through.

I am not quite sure why this is the case, seeing as it is completely possible to do what I described above, in water. Any ideas?



 Comments   
Comment by md_5 [ 28/Jul/18 ]

This is unlikely to be a spigot issue, and more likely a vanilla thing.
For obvious reasons swimming on land can’t be expected to work perfectly, and I think the docs mention this

Generated at Sat Dec 13 11:49:35 UTC 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.